Deny warnings on Travis

Always treating warnings as errors makes development annoying ("ugh I don't want to fix this right now"), but ignoring them quickly leaves them unfixed and shines a bad light on the project when other people want build it ("hmm, this crate's a little to... yellow for my taste"). I've found that this is pretty much a perfect middle ground (even though rlua doesn't require CI to pass before merging PRs).
This commit is contained in:
Jonas Schievink 2017-08-02 23:13:02 +02:00 committed by GitHub
parent cac4141871
commit bc3add1a8f
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@ rust:
- stable - stable
- beta - beta
- nightly - nightly
env:
- RUSTFLAGS="-D warnings"
matrix: matrix:
allow_failures: allow_failures:
- rust: nightly - rust: nightly