unicorn/.travis.yml

31 lines
761 B
YAML
Raw Normal View History

2016-03-01 05:49:27 +00:00
language: c
sudo: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew bundle; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./install-cmocka-linux.sh; fi
2016-03-01 05:49:27 +00:00
script:
- make && make -C bindings/go && make -C bindings/go test && make test
2016-03-01 05:49:27 +00:00
compiler:
- clang
- gcc
2016-03-03 15:14:25 +00:00
os:
- linux
- osx
matrix:
include:
- if: branch = master
os: osx
2017-03-12 13:31:49 +00:00
script: brew install --HEAD unicorn && brew test unicorn
compiler: gcc
- if: branch = master
os: osx
2017-03-12 13:31:49 +00:00
script: brew install --HEAD unicorn && brew test unicorn
compiler: clang
allow_failures:
- os: osx
2017-03-12 13:31:49 +00:00
script: brew install --HEAD unicorn && brew test unicorn
addons:
apt:
packages:
# mingw-w64 packages too old in precise