From 7b431be2f77951de25401d10678d438a9c6cda19 Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Sat, 29 Dec 2018 10:25:53 +0000 Subject: Deny warnings on CI (#329) --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5e11cbd2f..1b8cf2c44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,9 @@ build: &rust_build script: - cargo gen-tests --verify - cargo gen-syntax --verify - - cargo test + - RUSTFLAGS='-D warnings' cargo test + env: + RUSTFLAGS: '-D warnings' matrix: include: @@ -33,6 +35,9 @@ matrix: <<: *rust_build allow_failures: + # Because Travis-Windows-Rust can be flaky + # We still support Windows and want the tests to be succeeding, + # but there are too few spurious failures - os: windows branches: -- cgit v1.2.3