# see # http://docs.travis-ci.com/user/getting-started/ # http://docs.travis-ci.com/user/languages/c/ # http://docs.travis-ci.com/user/build-configuration/ # http://docs.travis-ci.com/user/multi-os/ # language: c compiler: - gcc - clang os: - linux - osx matrix: allow_failures: - os: osx branches: only: - master install: - env | sort - if [ "$TRAVIS_OS_NAME" = "" ]; then TRAVIS_OS_NAME=linux; fi - if [ "$TRAVIS_OS_NAME" = "linux" ]; then ./scripts/install-bison3.sh; sudo apt-get install -qq -y gtk-doc-tools libyajl-dev; fi - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install bison gtk-doc yajl; fi script: ./autogen.sh && make && make test