message: only run js tests for nightly build with rust wasm target
diff: @@ -4,15 +4,18 @@ rust:
  - stable
  - beta
  - nightly
  -#matrix:
  +script:
  + - cargo build --verbose --all
  + - cargo test --verbose --all
  +matrix:
  # allow_failures:
  # - rust: nightly
  -before_install:
  - - nvm install 8.2.1
  + include:
  + - rust: nightly
  before_script:
  + - rustup target add wasm32-unknown-unknown --toolchain nightly
  + - nvm install 8.2.1
  - npm install
  -script:
  - - cargo build --verbose --all
  - - cargo test --verbose --all
  - ./build
  + script:
  - npm run test
  