Skip to content

Commit d2ae76f

Browse files
committed
Force rust to treat warnings as errors in the build.
1 parent a1eb0fa commit d2ae76f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ before_script:
2222
export PATH=$HOME/.cargo/bin:$PATH
2323
script:
2424
- |
25-
travis-cargo build &&
25+
RUSTFLAGS=-Dwarnings travis-cargo build &&
2626
travis-cargo test
2727
- |
2828
cargo fmt -- --write-mode diff

0 commit comments

Comments
 (0)