Travis: Update homebrew first thing on OSX

This commit is contained in:
Corentin Wallez 2017-10-31 14:59:55 -04:00
parent 921fb5e1ce
commit 61ff48c640
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ addons:
# Required dependency for GLFW on Linux
- xorg-dev
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
install:
# Install dependencies required on OSX
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ninja; fi