diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-01-27 00:26:15 -0800 |
---|---|---|
committer | Ben Smith <binjimin@gmail.com> | 2018-01-27 00:26:15 -0800 |
commit | 420323029666c8eb9366123aa415197f47778efa (patch) | |
tree | b645be6bf0a4d6e99ea3869be3d20052a5dddcc5 /.travis.yml | |
parent | 6eb372ed94eb2db8df9a2296fc258393cd6631a3 (diff) | |
download | wabt-420323029666c8eb9366123aa415197f47778efa.tar.gz wabt-420323029666c8eb9366123aa415197f47778efa.tar.bz2 wabt-420323029666c8eb9366123aa415197f47778efa.zip |
Verify emscripten build compiles on travis (#740)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 73d1e6ed..1042b90c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,6 +42,24 @@ matrix: env: SANITIZER=ubsan - os: osx compiler: clang + # Build the .js outputs using emcc + - &test-emcc + stage: test + compiler: clang + python: 2.7 + node_js: 7 + language: node_js + node_js: + - node + sudo: required + services: + - docker + before_install: + - docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-incoming-64bit bash + script: + # run binaryen.js and wasm.js tests before and after building, so we see if the bundled + # version is good too + - docker exec -it emscripten bash scripts/travis-emcc.sh # Allow failures on the Mac bots. We'd rather not, but they are quite slow. allow_failures: |