From e9588d9c85b022bcd61a6f12e1d156b60d49decb Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 24 Jan 2019 13:46:43 -0500 Subject: [PATCH] Test builds using cargo-web on Travis to ensure they dont break --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 565c1f0..d306781 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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