travis: fail-fast for wasm target

This commit is contained in:
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

View file

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