354: Deny warnings on CI (#329) r=matklad a=DJMcNab

Fixes #329.

Co-authored-by: DJMcNab <36049421+djmcnab@users.noreply.github.com>
This commit is contained in:
bors[bot] 2018-12-29 11:56:36 +00:00
commit a9528c540b
1 changed files with 35 additions and 30 deletions

View File

@ -14,6 +14,8 @@ build: &rust_build
- cargo gen-tests --verify - cargo gen-tests --verify
- cargo gen-syntax --verify - cargo gen-syntax --verify
- cargo test - cargo test
env:
- RUSTFLAGS="-D warnings"
matrix: matrix:
include: include:
@ -33,6 +35,9 @@ matrix:
<<: *rust_build <<: *rust_build
allow_failures: allow_failures:
# Because Travis-Windows-Rust can be flaky
# We still support Windows and want the tests to be succeeding,
# but there are too many spurious failures
- os: windows - os: windows
branches: branches: