File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -670,7 +670,8 @@ before_install: |
670
670
echo $ENABLE_HEADLESS > headless.enabled
671
671
672
672
if [ -n "$IS_OSX" ]; then
673
- echo "homebrew"
673
+ export HOMEBREW_FORCE_VENDOR_RUBY=1
674
+ brew upgrade
674
675
TAPS="$(brew --repository)/Library/Taps"
675
676
if [ -e "$TAPS/caskroom/homebrew-cask" -a -e "$TAPS/homebrew/homebrew-cask" ]; then
676
677
rm -rf "$TAPS/caskroom/homebrew-cask"
Original file line number Diff line number Diff line change @@ -89,12 +89,9 @@ function pre_build {
89
89
90
90
local CACHE_STAGE; (echo " $TRAVIS_BUILD_STAGE_NAME " | grep -qiF " final" ) || CACHE_STAGE=1
91
91
92
- export HOMEBREW_FORCE_VENDOR_RUBY=1
93
- brew style
94
- brew update
95
-
96
92
# after the cache stage, all bottles and Homebrew metadata should be already cached locally
97
93
if [ -n " $CACHE_STAGE " ]; then
94
+ brew update
98
95
generate_ffmpeg_formula
99
96
brew_add_local_bottles
100
97
fi
You can’t perform that action at this time.
0 commit comments