diff options
author | Dave Beckett <dave@dajobe.org> | 2014-10-19 10:00:43 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2014-10-19 10:13:53 -0700 |
commit | c6bb9e79ef4924c2b064429b5e79d33740958ea5 (patch) | |
tree | 5ac49a87b1850b217c02cf091e1571d65babfe18 | |
parent | 71b80323c1da30583d89da193c7da459b4ddece0 (diff) | |
download | raptor-c6bb9e79ef4924c2b064429b5e79d33740958ea5.tar.gz |
Quote TRAVIS_OS_NAME that doesn't always seem to be defined
-rw-r--r-- | .travis.yml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 86325c23..74532b19 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,22 +4,31 @@ # http://docs.travis-ci.com/user/build-configuration/ # http://docs.travis-ci.com/user/multi-os/ # + language: c + branches: only: - master + before_script: - - test $TRAVIS_OS_NAME = "linux" && ./scripts/install-bison3.sh + - test "$TRAVIS_OS_NAME" = "linux" && ./scripts/install-bison3.sh + before_install: - - test $TRAVIS_OS_NAME = "linux" && sudo apt-get update -qq && sudo apt-get install -qq -y gtk-doc-tools libyajl-dev - - test $TRAVIS_OS_NAME = "osx" && brew install bison gtk-doc yajl + - env | sort + - test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get update -qq && sudo apt-get install -qq -y gtk-doc-tools libyajl-dev + - test "$TRAVIS_OS_NAME" = "osx" && brew update && brew install bison gtk-doc yajl + compiler: - gcc - clang + before_script: ./autogen.sh + os: - linux - osx + matrix: allow_failures: - os: osx |