From bc3add1a8f28f1525fc805c59b7e49d7dab621a6 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Wed, 2 Aug 2017 23:13:02 +0200 Subject: [PATCH] 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). --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8c91a74..ad49a0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ rust: - stable - beta - nightly +env: + - RUSTFLAGS="-D warnings" matrix: allow_failures: - rust: nightly