travis: fail-fast for wasm target

master
stoically 2020-05-13 14:48:36 +02:00
parent 51f0a487ce
commit c5a0803068
No known key found for this signature in database
GPG Key ID: 3026ED2F90EE0DE9
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ jobs:
name: wasm32-unknown-unknown name: wasm32-unknown-unknown
before_script: before_script:
- | - |
set -e
cargo install wasm-bindgen-cli cargo install wasm-bindgen-cli
rustup target add wasm32-unknown-unknown rustup target add wasm32-unknown-unknown
wget https://github.com/emscripten-core/emsdk/archive/master.zip wget https://github.com/emscripten-core/emsdk/archive/master.zip
@ -32,6 +33,7 @@ jobs:
./emsdk-master/emsdk activate latest ./emsdk-master/emsdk activate latest
script: script:
- | - |
set -e
source emsdk-master/emsdk_env.sh source emsdk-master/emsdk_env.sh
cd matrix_sdk/examples/wasm_command_bot cd matrix_sdk/examples/wasm_command_bot
cargo build --target wasm32-unknown-unknown cargo build --target wasm32-unknown-unknown