diff options
author | Julien Schueller <schueller@phimeca.com> | 2016-12-29 17:50:32 +0100 |
---|---|---|
committer | Julien Schueller <schueller@phimeca.com> | 2016-12-29 18:40:21 +0100 |
commit | e260a8bfae4b711c626674f395e7c7cec4cb5f4a (patch) | |
tree | 3ac3be37081911a6014412575132457dbab6bfb8 | |
parent | 94a68a2937b4b3769aca5281dd4d588b36f1e42c (diff) |
Fix osx build
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 17eb1d32..25dcd081 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,10 +13,10 @@ os: - linux - osx -#Not working -#before_install: -# - brew install gcc49 - +install: + - brew update || echo "ok" + - brew install gcc || echo "ok" + script: - export PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi) |