summaryrefslogtreecommitdiff
path: root/travis-emcc-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis-emcc-tests.sh')
-rwxr-xr-xtravis-emcc-tests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/travis-emcc-tests.sh b/travis-emcc-tests.sh
index 224636cfd..488c2d848 100755
--- a/travis-emcc-tests.sh
+++ b/travis-emcc-tests.sh
@@ -1,8 +1,10 @@
+#!/usr/bin/env bash
+
set -e
echo "travis-test build"
emconfigure cmake -DCMAKE_BUILD_TYPE=Release
emmake make -j4 binaryen_js
-mkdir out
+mkdir -p out
cp bin/binaryen_js.js out/binaryen.js
echo "travis-test test"
python3 -m scripts.test.binaryenjs