Merge pull request #96 from TheBlueMatt/master

Test builds using cargo-web on Travis to ensure they dont break
This commit is contained in:
Andrew Poelstra 2019-02-25 20:12:49 +00:00 committed by GitHub
commit 75bc49bf51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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