From ac787a6f5142de6dad1dc1a758473bf84a0ee619 Mon Sep 17 00:00:00 2001 From: xawotihs Date: Sun, 11 Oct 2015 15:20:27 +0200 Subject: [PATCH] Added SDL2DIR env variable. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d9ce78c8c..49b0ee1ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,8 @@ before_install: - if [ "$BUILD_SDL" == "YES" ]; then curl -O https://www.libsdl.org/release/SDL2-2.0.3.tar.gz && tar -xzvf SDL2-2.0.3.tar.gz && - mv SDL2-2.0.3 thirdparty/SDL2; + mv SDL2-2.0.3 thirdparty/SDL2 && + export SDL2DIR="$TRAVIS_BUILD_DIR/thirdparty/SDL2"; fi install: