summaryrefslogtreecommitdiff
path: root/scripts/travis-emcc-tests.sh
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-04-09 13:51:07 -0400
committerGitHub <noreply@github.com>2020-04-09 10:51:07 -0700
commit0dcb68967dfcbd0d839563b848cb494b475ed15a (patch)
tree958be0e2e186832b3f6fb2e661ce388f37b1a861 /scripts/travis-emcc-tests.sh
parent9d572bd24d4e9109fad70dbbd29bb04b2ea47113 (diff)
downloadbinaryen-0dcb68967dfcbd0d839563b848cb494b475ed15a.tar.gz
binaryen-0dcb68967dfcbd0d839563b848cb494b475ed15a.tar.bz2
binaryen-0dcb68967dfcbd0d839563b848cb494b475ed15a.zip
Move scripts in the `scripts` directory (#2735)
Diffstat (limited to 'scripts/travis-emcc-tests.sh')
-rwxr-xr-xscripts/travis-emcc-tests.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/travis-emcc-tests.sh b/scripts/travis-emcc-tests.sh
new file mode 100755
index 000000000..ac10118f8
--- /dev/null
+++ b/scripts/travis-emcc-tests.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+set -e
+
+echo "travis-test build:wasm"
+emcmake cmake -DCMAKE_BUILD_TYPE=Release
+emmake make -j4 binaryen_wasm
+echo "travis-test test:wasm"
+python3 -m scripts.test.binaryenjs wasm
+echo "travis-test done:wasm"
+
+echo "travis-test build:js"
+emmake make -j4 binaryen_js
+echo "travis-test test:js"
+python3 -m scripts.test.binaryenjs js
+echo "travis-test done:js"