From 036af15b66b17cf079c46e6eb3a6feff512daffe Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Wed, 25 Nov 2015 14:18:28 -0800 Subject: [PATCH] Remove double-"brew update" as now unnecessary The issue is closed and our latest runs on Travis are only needing to run brew update once. --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc279f8545..13b2d0181a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,7 @@ 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 - # Update twice to work around https://github.com/Homebrew/homebrew/issues/45616 - - if \[ "$TRAVIS_OS_NAME" = osx \]; then brew update || brew update; fi + - if \[ "$TRAVIS_OS_NAME" = osx \]; then 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