summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2020-04-24 09:45:15 +0200
committerDiego Barrios Romero <eldruin@gmail.com>2020-04-24 09:45:15 +0200
commita302082c2fbeff0403c0abd9bb3931ae3f744b3c (patch)
tree21cf77a66deddeba73c50d608742bdaaca0e8f83
parent9fd279e3abebf4e011b9de65d053178ced8837cd (diff)
downloadads1x1x-async-a302082c2fbeff0403c0abd9bb3931ae3f744b3c.tar.gz
ads1x1x-async-a302082c2fbeff0403c0abd9bb3931ae3f744b3c.tar.xz
ads1x1x-async-a302082c2fbeff0403c0abd9bb3931ae3f744b3c.zip
Remove deny warnings but forbid then on CI
-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;