diff options
author | Lance Richardson <lrichard@redhat.com> | 2016-03-23 16:04:47 -0400 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-03-23 13:17:58 -0700 |
commit | 40a75bbf9e8237ddf0bfc9d3320bfc39e389c7eb (patch) | |
tree | 39de76c4f2c68309b0fe81355e7e6d74ea3cffe5 /.travis.yml | |
parent | 837351e6f99098d63628bd06afe908b6d4af755d (diff) | |
download | openvswitch-40a75bbf9e8237ddf0bfc9d3320bfc39e389c7eb.tar.gz |
travis: support OS X builds
Add support for travis-ci OS X builds:
- Add linux- prefix to existing build/prepare scripts
- Create new OS X flavored build/prepare scripts
- Update .travis.yml for OS X
At this time only one build job included in the matrix for OS X.
Signed-off-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 66180731e..ee2cf213a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ compiler: - gcc - clang +os: + - linux + addons: apt: packages: @@ -13,7 +16,7 @@ addons: - libjemalloc1 - libjemalloc-dev -before_install: ./.travis/prepare.sh +before_install: ./.travis/${TRAVIS_OS_NAME}-prepare.sh before_script: export PATH=$PATH:$HOME/bin @@ -34,7 +37,13 @@ env: - KERNEL=3.10.96 - TESTSUITE=1 LIBS=-ljemalloc -script: ./.travis/build.sh $OPTS +matrix: + include: + - os: osx + compiler: clang + env: OPTS="--disable-ssl" + +script: ./.travis/${TRAVIS_OS_NAME}-build.sh $OPTS notifications: email: |