diff options
author | DJMcNab <[email protected]> | 2018-12-29 10:25:53 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-29 10:25:53 +0000 |
commit | 7b431be2f77951de25401d10678d438a9c6cda19 (patch) | |
tree | 2a1c4dd6377f51e0f90da7f101daee1d28eeeb65 | |
parent | f3f073804cf768c0b219d89081a26bedfde8ffed (diff) |
Deny warnings on CI (#329)
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 6 insertions, 1 deletions
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 | |||
13 | script: | 13 | script: |
14 | - cargo gen-tests --verify | 14 | - cargo gen-tests --verify |
15 | - cargo gen-syntax --verify | 15 | - cargo gen-syntax --verify |
16 | - cargo test | 16 | - RUSTFLAGS='-D warnings' cargo test |
17 | env: | ||
18 | RUSTFLAGS: '-D warnings' | ||
17 | 19 | ||
18 | matrix: | 20 | matrix: |
19 | include: | 21 | include: |
@@ -33,6 +35,9 @@ matrix: | |||
33 | <<: *rust_build | 35 | <<: *rust_build |
34 | 36 | ||
35 | allow_failures: | 37 | allow_failures: |
38 | # Because Travis-Windows-Rust can be flaky | ||
39 | # We still support Windows and want the tests to be succeeding, | ||
40 | # but there are too few spurious failures | ||
36 | - os: windows | 41 | - os: windows |
37 | 42 | ||
38 | branches: | 43 | branches: |