Index: .travis/prepare-emscripten.sh |
diff --git a/.travis/prepare-emscripten.sh b/.travis/prepare-emscripten.sh |
new file mode 100644 |
index 0000000000000000000000000000000000000000..16ad9b11d23fa4b78be5c5d7bb9e08614d9a0fe6 |
--- /dev/null |
+++ b/.travis/prepare-emscripten.sh |
@@ -0,0 +1,13 @@ |
+#!/usr/bin/env bash |
+ |
+set -x |
+set -e |
+ |
+wget -qO- https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz | tar xz -C third_party/ |
+pushd third_party/emsdk-portable |
+ |
+./emsdk update |
+./emsdk install sdk-1.37.3-64bit > /dev/null 2>&1 |
+./emsdk activate sdk-1.37.3-64bit |
+ |
+popd |