summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-11-07 20:55:23 -0800
committerGitHub <noreply@github.com>2017-11-07 20:55:23 -0800
commit1e2528ec1d2c7bc6130760aed900741ebe565b60 (patch)
treebfbbc6241f976cb735ab45b30f93cfe031549bd1
parentcf8336221d128b56fcbbb4130949a06a56748075 (diff)
downloadbinaryen-1e2528ec1d2c7bc6130760aed900741ebe565b60.tar.gz
binaryen-1e2528ec1d2c7bc6130760aed900741ebe565b60.tar.bz2
binaryen-1e2528ec1d2c7bc6130760aed900741ebe565b60.zip
Build binaryen.js and wasm.js on Travis CI (#1260)
-rw-r--r--.travis.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index c3c074263..f2a487bba 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -57,6 +57,23 @@ jobs:
CC_COMPILER="gcc-5"
CXX_COMPILER="g++-5"
+ # 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:
+ - docker exec -it emscripten bash ./build-js.sh -g
+
# Build with gcc 6.3 and run tests on Alpine Linux (inside chroot).
# Note: Alpine uses musl libc.
- &test-alpine