Fail the build on warnings

This commit is contained in:
Odin Dutton 2019-08-20 15:02:55 +10:00
parent 154a45bbd6
commit eec042d7e7

View file

@ -29,7 +29,7 @@ steps:
rustc -Vv
echo "##vso[task.prependpath]$HOME/.cargo/bin"
displayName: Install Rust
- bash: cargo build
- bash: RUSTFLAGS="-D warnings" cargo build
displayName: Build source
- bash: cargo test
displayName: Run tests