Skip to content

Commit

Permalink
Run brew update in before_install
Browse files Browse the repository at this point in the history
In older versions of Homebrew, such as the one pre-installed on the
Travis OSX 10.9 image, `brew update` will not checkout the previously
checked-out commit in a tap after pulling the latest master.
  • Loading branch information
jawshooah committed Jan 16, 2016
1 parent 638f750 commit f57ef58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ci/travis/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ run ruby --version
run which gem
run gem --version

run brew update

# ensure that we are the only brew-cask available
run brew uninstall --force brew-cask

Expand Down
1 change: 0 additions & 1 deletion ci/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ if must_run_tests; then
run bundle install --path="${GEM_HOME%/*/*}" --with=test

# install Formulae and Casks without which some tests would be skipped
run brew update
brew_install cabextract
brew_install unar
run brew cask install Casks/adobe-air.rb
Expand Down

0 comments on commit f57ef58

Please sign in to comment.