summaryrefslogtreecommitdiffstats
path: root/.travis-deps.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis-deps.sh')
-rwxr-xr-x.travis-deps.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/.travis-deps.sh b/.travis-deps.sh
index 4b907abb3..bab90d307 100755
--- a/.travis-deps.sh
+++ b/.travis-deps.sh
@@ -13,18 +13,13 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
| tar -xz -C $HOME/.local --strip-components=1
(
- git clone https://github.com/glfw/glfw.git --branch 3.1.1 --depth 1
- mkdir glfw/build && cd glfw/build
- cmake -DBUILD_SHARED_LIBS=ON \
- -DGLFW_BUILD_EXAMPLES=OFF \
- -DGLFW_BUILD_TESTS=OFF \
- -DCMAKE_INSTALL_PREFIX=$HOME/.local \
- ..
+ wget http://libsdl.org/release/SDL2-2.0.4.tar.gz -O - | tar xz
+ cd SDL2-2.0.4
+ ./configure --prefix=$HOME/.local
make -j4 && make install
)
-
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update > /dev/null # silence the very verbose output
- brew install qt5 glfw3
+ brew install qt5 sdl2
gem install xcpretty
fi