Travis: Fix problems with Homebrew
Before this update Homebrew would fail, printing the following error
message:
> Homebrew must be run under Ruby 2.3! (RuntimeError)
.
@@ -39,7 +39,11 @@ matrix:
compiler: clang
before_install:
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja; fi
+ - |
+ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+ brew update
+ brew install ninja
+ fi
- |
if [[ "$TRAVIS_OS_NAME" == "osx" && "$FAST" != "ON" ]]; then
rvm install 2.3.1
