Fix macOS build on Travis

This commit is contained in:
HMH 2017-10-13 11:58:15 +02:00 committed by heinrich5991
parent 732419de69
commit c52862a852

View file

@ -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