TravisCI: install SDL2 dev packages for OSX as well

pull/3/head
Christian Beier 6 years ago
parent b917d8f236
commit 19660ff64d
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8

@ -23,6 +23,7 @@ script:
- mkdir build
- cd build
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; sudo apt-get --no-install-suggests --no-install-recommends install libsdl2-dev; fi
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew update; brew install sdl2; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl; else cmake ..; fi
- cmake --build .
- ctest --output-on-failure

Loading…
Cancel
Save