From 4c8d4a7d03cddf4200852dfa0eb005044d0a7c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 19 May 2017 17:35:43 +0200 Subject: [PATCH] package/ci: use Emscripten 1.37.1 instead of 1.37.10. The newer version crashes, probably just a random breakage. Will wait until it improves. --- package/ci/travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/ci/travis.yml b/package/ci/travis.yml index 05e8038ac..2fa1f1c1e 100644 --- a/package/ci/travis.yml +++ b/package/ci/travis.yml @@ -126,7 +126,9 @@ install: - if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$TARGET" == "android" ]; then wget -nc http://dl.google.com/android/ndk/android-ndk-r10e-linux-x86_64.bin && chmod +x android-*.bin && ./android-*.bin -y | grep -v Extracting; fi - if [ "$TRAVIS_OS_NAME" == "osx" ] && [ "$TARGET" == "desktop" ]; then export PLATFORM_GL_API=CGL; fi - if [ "$TRAVIS_OS_NAME" == "osx" ] && [ "$TARGET" == "ios-simulator" ]; then gem install xcpretty; fi -- if [ "$TRAVIS_OS_NAME" == "osx" ] && [ "$TARGET" == "emscripten" ]; then brew install emscripten && export LLVM=/usr/local/opt/emscripten/libexec/llvm/bin && emcc; fi +# Emscripten 1.37.10 is broken (crashes during optimization), using 1.37.1 +# works. Replace with just `brew install emscripten` when sane again +- if [ "$TRAVIS_OS_NAME" == "osx" ] && [ "$TARGET" == "emscripten" ]; then brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/53f53f6498ba0f507c443dd4f0c6217937f1ddf2/Formula/emscripten.rb && export LLVM=/usr/local/opt/emscripten/libexec/llvm/bin && emcc; fi - if [ "$TARGET" == "desktop" ] || [ "$TARGET" == "desktop-sanitizers" ] || [ "$TARGET" == "desktop-gles" ]; then printf "[General]\ndrivers=null" > ~/.alsoftrc; fi # SDL (cached)