Skip to content

Commit

Permalink
Add emscripten build
Browse files Browse the repository at this point in the history
  • Loading branch information
kulp committed Mar 31, 2018
1 parent 92c0c0e commit 80fed33
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,22 @@ matrix:
- lcov
- libsdl2-dev
- libsdl2-image-dev
- language: node_js
node_js:
- node
env:
- PLATFORM=emscripten
- CHECK_RULE=check_sw GCOV= JIT=0 SDL=0
- PKG_RULE=gzip
sudo: required
services:
- docker
before_install:
- docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-incoming-64bit bash
script:
- make PLATFORM=emscripten SDL=0 JIT=0 NODEPS lexer.c parser.c
- docker exec -it emscripten make V=1 all PLATFORM=$PLATFORM JIT=$JIT SDL=$SDL NDEBUG=$NDEBUG
- docker exec -it emscripten make V=1 $CHECK_RULE PLATFORM=$PLATFORM JIT=$JIT SDL=$SDL NDEBUG=$NDEBUG
sudo: false
install:
- gem install coveralls-lcov
Expand Down

0 comments on commit 80fed33

Please sign in to comment.