diff options
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 |