aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml8
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)