Skip to content

Commit

Permalink
Brew update twice, to work around Brew issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ejona86 committed Nov 2, 2015
1 parent e775885 commit 6229c2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6229c2c

Please sign in to comment.