diff --git a/.travis.yml b/.travis.yml index ea0dbfbe94..04f49983f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -145,7 +145,7 @@ jobs: rust: beta before_script: - rustup component add clippy - env: TASK=clippy + env: TASK=clippy BETA_CLIPPY_ALLOW="-A option-if-let-else" # ALLOWED FAILURES # Run audit on Rust stable. Make it an allowed failure, because: diff --git a/Makefile b/Makefile index ce8e43dba0..2881b7a522 100644 --- a/Makefile +++ b/Makefile @@ -122,7 +122,7 @@ stratisd.8.gz: stratisd.8 gzip --stdout docs/stratisd.8 > docs/stratisd.8.gz clippy: - cargo clippy --all-targets --all-features -- ${DENY} ${CLIPPY_DENY} + cargo clippy --all-targets --all-features -- ${DENY} ${CLIPPY_DENY} ${BETA_CLIPPY_ALLOW} .PHONY: audit