mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Don't use Brew on Travis anymore
We now ship SDL2 via ddnet-libs, it's not needed anymore. Fixes #893.
This commit is contained in:
parent
7efe6e3241
commit
fe4910c255
|
@ -11,7 +11,7 @@ addons:
|
|||
- libgtest-dev
|
||||
- libsdl2-dev
|
||||
script:
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then CMAKE_EXTRA_ARGS="-DDOWNLOAD_GTEST=ON"; brew update; brew install sdl2; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then CMAKE_EXTRA_ARGS="-DDOWNLOAD_GTEST=ON"; fi
|
||||
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then CMAKE_EXTRA_ARGS="-DGTEST_LIBRARY=../gtest_build/libgtest.a -DGTEST_MAIN_LIBRARY=../gtest_build/libgtest_main.a"; mkdir gtest_build; cmake -E chdir gtest_build cmake /usr/src/gtest; cmake --build gtest_build; fi
|
||||
- mkdir build; cd build
|
||||
- cmake -Werror=dev $CMAKE_EXTRA_ARGS ..
|
||||
|
|
Loading…
Reference in a new issue