Skip to content

Commit 1e2528e

Browse files
authored
Build binaryen.js and wasm.js on Travis CI (#1260)
1 parent cf83362 commit 1e2528e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,23 @@ jobs:
5757
CC_COMPILER="gcc-5"
5858
CXX_COMPILER="g++-5"
5959
60+
# Build the .js outputs using emcc
61+
- &test-emcc
62+
stage: test
63+
compiler: clang
64+
python: 2.7
65+
node_js: 7
66+
language: node_js
67+
node_js:
68+
- node
69+
sudo: required
70+
services:
71+
- docker
72+
before_install:
73+
- docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-incoming-64bit bash
74+
script:
75+
- docker exec -it emscripten bash ./build-js.sh -g
76+
6077
# Build with gcc 6.3 and run tests on Alpine Linux (inside chroot).
6178
# Note: Alpine uses musl libc.
6279
- &test-alpine

0 commit comments

Comments
 (0)