|
|
@ -23,6 +23,7 @@ script:
|
|
|
|
- mkdir build
|
|
|
|
- mkdir build
|
|
|
|
- cd 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" == "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
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl; else cmake ..; fi
|
|
|
|
- cmake --build .
|
|
|
|
- cmake --build .
|
|
|
|
- ctest --output-on-failure
|
|
|
|
- ctest --output-on-failure
|
|
|
|