From 594abf2b396995e09c651c344a0dc60035e570b7 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sat, 31 Mar 2018 12:46:45 +0200 Subject: [PATCH] Update .travis.yml to install SDL2 before compiling gamepad example --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1a63afe..cad3072 100644 --- a/.travis.yml +++ b/.travis.yml @@ -202,6 +202,11 @@ install: - mv example_remote-client/addons.make.norpi example_remote-client/addons.make - mv example_remote-server/addons.make.norpi example_remote-server/addons.make - mv example_simpler/addons.make.norpi example_simpler/addons.make + - if [ "$TARGET" == "osx" ]; then + brew install sdl2 + elif [ "$TARGET" == "linux64" ]; then + sudo apt-get install libsdl2-dev + fi script: - cd ~/openFrameworks