summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-07-26 11:47:54 +0200
committerChristian Beier <dontmind@freeshell.org>2018-07-30 19:15:21 +0200
commit19660ff64d2aee753fa23bf40fa331340f5c0e07 (patch)
tree44571d02f88cfcd14b915377483b922b714bd7e8 /.travis.yml
parentb917d8f23674102855a44a7ab31211f7de873445 (diff)
downloadlibtdevnc-19660ff64d2aee753fa23bf40fa331340f5c0e07.tar.gz
libtdevnc-19660ff64d2aee753fa23bf40fa331340f5c0e07.zip
TravisCI: install SDL2 dev packages for OSX as well
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 970139d..ea8b9e5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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