File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -670,7 +670,8 @@ before_install: |
670670 echo $ENABLE_HEADLESS > headless.enabled
671671
672672 if [ -n "$IS_OSX" ]; then
673- echo "homebrew"
673+ export HOMEBREW_FORCE_VENDOR_RUBY=1
674+ brew upgrade
674675 TAPS="$(brew --repository)/Library/Taps"
675676 if [ -e "$TAPS/caskroom/homebrew-cask" -a -e "$TAPS/homebrew/homebrew-cask" ]; then
676677 rm -rf "$TAPS/caskroom/homebrew-cask"
Original file line number Diff line number Diff line change @@ -89,12 +89,9 @@ function pre_build {
8989
9090 local CACHE_STAGE; (echo " $TRAVIS_BUILD_STAGE_NAME " | grep -qiF " final" ) || CACHE_STAGE=1
9191
92- export HOMEBREW_FORCE_VENDOR_RUBY=1
93- brew style
94- brew update
95-
9692 # after the cache stage, all bottles and Homebrew metadata should be already cached locally
9793 if [ -n " $CACHE_STAGE " ]; then
94+ brew update
9895 generate_ffmpeg_formula
9996 brew_add_local_bottles
10097 fi
You can’t perform that action at this time.
0 commit comments