Skip to content

Commit

Permalink
Build tests for emscripten on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Dec 30, 2018
1 parent 0153674 commit 0540168
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ matrix:
addons:
chrome: stable
script:
# testing wasm32-unknown-emscripten fails because of rust-lang/rust#49877
- cargo build --target wasm32-unknown-emscripten
# Testing wasm32-unknown-emscripten fails because of rust-lang/rust#49877
# However, we can still build and link all tests to make sure that works.
# This is actually useful as it finds stuff such as rust-random/rand#669
- EMCC_CFLAGS="-s ERROR_ON_UNDEFINED_SYMBOLS=0" cargo web test --target wasm32-unknown-emscripten --no-run
#- cargo web test --target wasm32-unknown-emscripten
#- cargo web test --nodejs --target wasm32-unknown-emscripten
- cargo build --target wasm32-unknown-unknown # without any features
Expand Down

0 comments on commit 0540168

Please sign in to comment.