Test builds using cargo-web on Travis to ensure they dont break

This commit is contained in:
Matt Corallo 2019-01-24 13:46:43 -05:00
parent 77619e8b8d
commit e9588d9c85
1 changed files with 1 additions and 0 deletions

View File

@ -30,3 +30,4 @@ script:
- cargo test --release
- cargo bench
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then cargo doc; fi
- if [ "$(rustup show | grep default | grep stable)" != "" -a "$TRAVIS_OS_NAME" = "linux" ]; then cargo install --force cargo-web && cargo web build --target=asmjs-unknown-emscripten && cargo web test --target=asmjs-unknown-emscripten --nodejs; fi