.travis.yml: Test wasm target
@@ -20,10 +20,15 @@ matrix:
# reliable and performs better, but this lets us keep an eye on
# improvements to Travis Windows support
- os: windows
+ include:
+ - name: "Rust: stable (wasm32)"
+ rust: stable
+ script: cargo build --all --target wasm32-unknown-unknown
install:
- rustup component add rustfmt
- rustup component add clippy
+ - rustup target add wasm32-unknown-unknown
- command -v cargo-audit >/dev/null 2>&1 || cargo install cargo-audit
script:
