diff --git a/.travis.yml b/.travis.yml index e20781a9..9124ebbb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,5 +20,6 @@ matrix: env: CLIPPY=true - rust: nightly env: EMSCRIPTEN=true + script: nvm install 9 && ./travis.sh script: ./travis.sh diff --git a/travis.sh b/travis.sh index 3b5b75ae..da7b8cc8 100755 --- a/travis.sh +++ b/travis.sh @@ -52,9 +52,6 @@ elif [ -n "${EMSCRIPTEN}" ]; then curl -L "${CARGO_WEB_URL}" | gzip -d > ~/.cargo/bin/cargo-web chmod +x ~/.cargo/bin/cargo-web - # Install Node.js - nvm install 9 - cd "$DIR/test_suite" cargo web test --target=asmjs-unknown-emscripten --nodejs cargo web test --target=wasm32-unknown-emscripten --nodejs