summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2014-10-19 10:00:43 -0700
committerDave Beckett <dave@dajobe.org>2014-10-19 10:13:53 -0700
commitc6bb9e79ef4924c2b064429b5e79d33740958ea5 (patch)
tree5ac49a87b1850b217c02cf091e1571d65babfe18
parent71b80323c1da30583d89da193c7da459b4ddece0 (diff)
downloadraptor-c6bb9e79ef4924c2b064429b5e79d33740958ea5.tar.gz
Quote TRAVIS_OS_NAME that doesn't always seem to be defined
-rw-r--r--.travis.yml15
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