.travis.yml: build on osx

This commit is contained in:
David du Colombier 2017-09-01 21:23:52 +02:00
parent 46ba383a33
commit 2f9bf88b36

View file

@ -1,5 +1,9 @@
language: c language: c
os:
- linux
- osx
env: env:
global: global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
@ -18,5 +22,9 @@ addons:
build_command: "./INSTALL" build_command: "./INSTALL"
branch_pattern: master branch_pattern: master
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install Caskroom/cask/osxfuse; fi
script: script:
- ./INSTALL - ./INSTALL