Skip to content

Commit a6c4f10

Browse files
authored
Fix js builds and add testing (#1291)
* run emscripten tests on travis docker run, which has emcc. this verifies that the built wasm.js&binaryen.js works * run binaryen.js and wasm.js tests before *and* after, to check the new build and also the bundled build * updated js builds
1 parent 8a69640 commit a6c4f10

File tree

4 files changed

+436
-1474
lines changed

4 files changed

+436
-1474
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ jobs:
7272
before_install:
7373
- docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-incoming-64bit bash
7474
script:
75-
- docker exec -it emscripten bash ./build-js.sh -g && python -c "import check ; check.run_binaryen_js_tests()"
75+
# run binaryen.js and wasm.js tests before and after building, so we see if the bundled
76+
# version is good too
77+
- docker exec -it emscripten bash ./travis-emcc-tests.sh
7678

7779
# Build with gcc 6.3 and run tests on Alpine Linux (inside chroot).
7880
# Note: Alpine uses musl libc.

0 commit comments

Comments
 (0)