From c52862a852b5a421b77b24e7a15010fb08ea7d36 Mon Sep 17 00:00:00 2001 From: HMH Date: Fri, 13 Oct 2017 11:58:15 +0200 Subject: [PATCH] Fix macOS build on Travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6243100cb..31a27fcea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ addons: - libgtest-dev - libsdl2-dev script: -- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install sdl2; fi +- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install sdl2; fi - if [ "$TRAVIS_OS_NAME" != "osx" ]; then mkdir gtest_build; cmake -E chdir gtest_build cmake /usr/src/gtest; cmake --build gtest_build; fi - mkdir build - cd build