unicorn/.travis.yml

32 lines
855 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; fi
2016-10-28 23:31:52 +00:00
- if [[ "$TRAVIS_OS_NAME" == "osx" && "$MACOS_UNIVERSAL" != "yes" ]]; then brew install glib cmocka; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && "$MACOS_UNIVERSAL" == "yes" ]]; then brew install glib --universal cmocka; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./install-cmocka-linux.sh; fi
2016-03-01 05:49:27 +00:00
script:
2016-10-28 23:31:52 +00:00
- make && make test
# TODO make bindings enabled
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make clean && ./make.sh ios; fi
2016-03-01 05:49:27 +00:00
compiler:
- clang
- gcc
2016-03-03 15:14:25 +00:00
os:
- linux
- osx
2016-10-28 23:31:52 +00:00
matrix:
include:
- os: osx
compiler: clang
env: MACOS_UNIVERSAL=yes
- os: osx
compiler: gcc
env: MACOS_UNIVERSAL=yes
# - os: osx
# compiler: x86_64-w64-mingw32-gcc
addons:
apt:
packages:
2016-10-28 23:31:52 +00:00
# mingw-w64 packages too old in precise