Skip to content

Commit e1b13aa

Browse files
committed
try updating homebrew
1 parent 8541d77 commit e1b13aa

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff 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"

travis_config.sh

+1-4
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)