mirror of
https://github.com/rust-lang/cargo
synced 2024-09-13 21:11:44 +00:00
try running tests with minimal-versions on CI
This commit is contained in:
parent
6a7672ef53
commit
06d28ebe4d
|
@ -37,7 +37,7 @@ matrix:
|
|||
- rustup toolchain install nightly
|
||||
- cargo +nightly generate-lockfile -Z minimal-versions
|
||||
- cargo -V
|
||||
- cargo check --tests
|
||||
- cargo test
|
||||
|
||||
- env: TARGET=x86_64-unknown-linux-gnu
|
||||
ALT=i686-unknown-linux-gnu
|
||||
|
|
|
@ -23,5 +23,5 @@ clone_depth: 1
|
|||
build: false
|
||||
|
||||
test_script:
|
||||
- if defined MINIMAL_VERSIONS cargo +nightly generate-lockfile -Z minimal-versions && cargo +stable check --tests
|
||||
- if defined MINIMAL_VERSIONS cargo +nightly generate-lockfile -Z minimal-versions && cargo +stable test
|
||||
- if NOT defined MINIMAL_VERSIONS cargo test
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#![cfg_attr(feature = "cargo-clippy", allow(boxed_local))] // bug rust-lang-nursery/rust-clippy#1123
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] // large project
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))] // there's an intentional incoherence
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(explicit_into_iter_loop))] // (unclear why)
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(explicit_iter_loop))] // (unclear why)
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(explicit_into_iter_loop))] // explicit loops are clearer
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(explicit_iter_loop))] // explicit loops are clearer
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(identity_op))] // used for vertical alignment
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(implicit_hasher))] // large project
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] // large project
|
||||
|
|
Loading…
Reference in a new issue