aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2015-11-02 09:08:49 -0800
committerEric Anderson <ejona@google.com>2015-11-02 09:09:10 -0800
commit6229c2ca610f0d690629ad7f8722556815d263ad (patch)
treeaaa22a720dd63758ff24f2ef9906cfa2b507e26e /.travis.yml
parente775885be20685ffb8083fdf621106b871949c3c (diff)
downloadgrpc-grpc-java-6229c2ca610f0d690629ad7f8722556815d263ad.tar.gz
Brew update twice, to work around Brew issue
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 13b2d0181..fc279f854 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,7 +13,8 @@ env:
before_install:
# Work around https://github.com/travis-ci/travis-ci/issues/2317
- if \[ "$TRAVIS_OS_NAME" = linux \]; then jdk_switcher use oraclejdk8; fi
- - if \[ "$TRAVIS_OS_NAME" = osx \]; then brew update; fi
+ # Update twice to work around https://github.com/Homebrew/homebrew/issues/45616
+ - if \[ "$TRAVIS_OS_NAME" = osx \]; then brew update || brew update; fi
- buildscripts/make_dependencies.sh # build protoc into /tmp/protobuf-${PROTOBUF_VERSION}
- mkdir -p $HOME/.gradle
- echo "checkstyle.ignoreFailures=false" >> $HOME/.gradle/gradle.properties