diff options
author | 2018-10-26 19:58:32 +0200 | |
---|---|---|
committer | 2018-10-26 19:58:32 +0200 | |
commit | e2bda1a5cdda37cec2ea9e1aab2e990f7701da3a (patch) | |
tree | 7e97467b81b2ec7a8552ac92681ce6f710187b3b /ci/script.sh | |
parent | 1e04df6258f43e7f74559f4d32acfa681d7be173 (diff) | |
download | cortex-m-e2bda1a5cdda37cec2ea9e1aab2e990f7701da3a.tar.gz cortex-m-e2bda1a5cdda37cec2ea9e1aab2e990f7701da3a.tar.zst cortex-m-e2bda1a5cdda37cec2ea9e1aab2e990f7701da3a.zip |
deny warnings only on nightly
lints have changed between nightly and stable
Diffstat (limited to 'ci/script.sh')
-rw-r--r-- | ci/script.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/script.sh b/ci/script.sh index d1d9279..20a8ea2 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -1,6 +1,10 @@ set -euxo pipefail main() { + if [ $TRAVIS_RUST_VERSION = nightly ]; then + export RUSTFLAGS="-D warnings" + fi + cargo check --target $TARGET if [ $TRAVIS_RUST_VERSION = nightly ]; then |