aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2019-01-10 10:20:03 +0100
committerGravatar GitHub <noreply@github.com>2019-01-10 10:20:03 +0100
commitee6f5505699da3f5c40dc263c3d1f133e074e6c0 (patch)
tree16d2c1b9424be09ddf0bf47f2fef543548e7e91a
parent302e7b4d2b97a2f4742296234b66507842bb096b (diff)
parent38f0fa394b1d75772a37aac2829a51a037d3271f (diff)
Merge pull request #17682 from apolcyn/attempt_homebrew_fix
Attempt to fix homebrew installation problem
-rw-r--r--tools/internal_ci/helper_scripts/prepare_build_macos_rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc
index 632db5ae14..5b6b256939 100644
--- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc
+++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc
@@ -38,6 +38,8 @@ if [ -n "$KOKORO_GITHUB_PULL_REQUEST_NUMBER" ]; then
fi
set +ex # rvm script is very verbose and exits with errorcode
+# Advice from https://github.com/Homebrew/homebrew-cask/issues/8629#issuecomment-68641176
+brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup
source $HOME/.rvm/scripts/rvm
set -e # rvm commands are very verbose
time rvm install 2.5.0