summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
-rw-r--r--src/lib.rs1
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 2f5d563..43df051 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,9 @@
language: rust
+env:
+ global:
+ - RUSTFLAGS="-D warnings"
+
before_install:
- git clone https://github.com/eldruin/rust-driver-ci-scripts ci
- bash ci/before_install.sh
diff --git a/src/lib.rs b/src/lib.rs
index b5abe4d..8553ab7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -209,7 +209,6 @@
#![deny(unsafe_code)]
#![deny(missing_docs)]
-#![deny(warnings)]
#![no_std]
extern crate embedded_hal as hal;