Tries to fix SDL and Qt builds, introduces Emscripten in Travis.

This commit is contained in:
xawotihs
2016-06-19 10:25:22 +02:00
parent e4e809f3fe
commit 0a01b0af69
4 changed files with 18 additions and 1 deletions
+6
View File
@@ -17,6 +17,8 @@ matrix:
- os: android
language: android
env: BUILD_TYPE=ANDROID
- os: osx
env: BUILD_TYPE=Emscripten
android:
components:
@@ -69,6 +71,10 @@ before_install:
- if [ "$BUILD_TYPE" == "SDL" ]; then
export SDL2DIR="$TRAVIS_BUILD_DIR/thirdparty/SDL2";
fi
# Building for Emscripten here
- if [ "$BUILD_TYPE" == "Emscripten" ]; then
brew install emscripten && export LLVM=/usr/local/opt/emscripten/libexec/llvm/bin && emcc;
fi
install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then