unicorn/.travis.yml
Stephen f0677fc13b only build brew HEAD on master and rm trusty jobs (#904)
brew HEAD pulls from master, so it only makes sense to build on master

trusty is now the travis default, explicit jobs are no longer required
2017-10-07 23:56:02 +08:00

31 lines
774 B
YAML

language: c
sudo: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap Homebrew/bundle && brew bundle; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./install-cmocka-linux.sh; fi
script:
- make && make -C bindings/go && make -C bindings/go test && make test
compiler:
- clang
- gcc
os:
- linux
- osx
matrix:
include:
- if: branch = master
os: osx
script: brew install --HEAD unicorn && brew test unicorn
compiler: gcc
- if: branch = master
os: osx
script: brew install --HEAD unicorn && brew test unicorn
compiler: clang
allow_failures:
- os: osx
script: brew install --HEAD unicorn && brew test unicorn
addons:
apt:
packages:
# mingw-w64 packages too old in precise