diff --git a/.travis.yml b/.travis.yml index c7acf720..1e30ba50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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