Skip to content

Commit

Permalink
Workaround for homebrew bug with osx shard (pantsbuild#7050)
Browse files Browse the repository at this point in the history
### Problem
Homebrew fails to execute when running `brew upgrade`. This leads to the OSX Rust + Platform Specific Tests shard consistently failing.

### Solution
Use workaround described in Homebrew/brew#5513.
  • Loading branch information
Eric-Arellano authored Jan 9, 2019
1 parent 0bc0178 commit 64073b0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,11 @@ matrix:
osx_image: xcode8.3
stage: *test
language: generic
# TODO: workaround for Homebrew bug triggered by running `brew update`.
# Follow at https://github.com/Homebrew/brew/issues/5513 and remove this workaround once its fixed.
env:
- HOMEBREW_LOGS=~/homebrew-logs
- HOMEBREW_TEMP=~/homebrew-temp
before_install:
- brew tap caskroom/cask && brew update && brew cask install osxfuse
before_script:
Expand Down
5 changes: 5 additions & 0 deletions build-support/travis/travis.yml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ matrix:
osx_image: xcode8.3
stage: *test
language: generic
# TODO: workaround for Homebrew bug triggered by running `brew update`.
# Follow at https://github.com/Homebrew/brew/issues/5513 and remove this workaround once its fixed.
env:
- HOMEBREW_LOGS=~/homebrew-logs
- HOMEBREW_TEMP=~/homebrew-temp
before_install:
- brew tap caskroom/cask && brew update && brew cask install osxfuse
before_script:
Expand Down

0 comments on commit 64073b0

Please sign in to comment.