From eec042d7e7a8d20362444e2098fe54baf1066f9b Mon Sep 17 00:00:00 2001 From: Odin Dutton Date: Tue, 20 Aug 2019 15:02:55 +1000 Subject: [PATCH] Fail the build on warnings --- .azure/azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index 4c160576b6..54bbc5bb7d 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -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