Merge pull request #318 from twe4ked/fail-build-on-warning

Fail the build on warnings
This commit is contained in:
Jonathan Turner 2019-08-20 17:49:56 +12:00 committed by GitHub
commit fbc4749ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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