From 6229c2ca610f0d690629ad7f8722556815d263ad Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Mon, 2 Nov 2015 09:08:49 -0800 Subject: [PATCH] Brew update twice, to work around Brew issue --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 13b2d0181a..fc279f8545 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