Browse Source

fix(build): manually update brew to workaround autoupdate bug

reviewable/pr5490/r1
Anthony Bilinski 7 years ago
parent
commit
c9cb5fefdd
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 7
      .travis/build-osx.sh

7
.travis/build-osx.sh

@ -21,7 +21,12 @@ set -eu -o pipefail @@ -21,7 +21,12 @@ set -eu -o pipefail
# accelerate builds with ccache
install_ccache() {
echo "Installing ccache ..."
# manually update even though `install` will already update, due to bug:
# Please don't worry, you likely hit a bug auto-updating from an old version.
# Rerun your command, everything is up-to-date and fine now.
echo "Updating brew..."
brew update
echo "Installing ccache..."
brew install ccache
}

Loading…
Cancel
Save