unicorn/.travis.yml
Stephen 403237206e add trusty builds (#777)
* add trusty builds

* Update .travis.yml

* remove bad apt addon attempt
2017-03-12 10:04:27 +08:00

26 lines
585 B
YAML

language: c
sudo: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install cmocka; 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:
- os: linux
dist: trusty
compiler: gcc
- os: linux
dist: trusty
compiler: clang
addons:
apt:
packages:
# mingw-w64 packages too old in precise