Skip to content

Commit 06d28eb

Browse files
committed
try running tests with minimal-versions on CI
1 parent 6a7672e commit 06d28eb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ matrix:
3737
- rustup toolchain install nightly
3838
- cargo +nightly generate-lockfile -Z minimal-versions
3939
- cargo -V
40-
- cargo check --tests
40+
- cargo test
4141

4242
- env: TARGET=x86_64-unknown-linux-gnu
4343
ALT=i686-unknown-linux-gnu

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ clone_depth: 1
2323
build: false
2424

2525
test_script:
26-
- if defined MINIMAL_VERSIONS cargo +nightly generate-lockfile -Z minimal-versions && cargo +stable check --tests
26+
- if defined MINIMAL_VERSIONS cargo +nightly generate-lockfile -Z minimal-versions && cargo +stable test
2727
- if NOT defined MINIMAL_VERSIONS cargo test

src/cargo/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#![cfg_attr(feature = "cargo-clippy", allow(boxed_local))] // bug rust-lang-nursery/rust-clippy#1123
55
#![cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] // large project
66
#![cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))] // there's an intentional incoherence
7-
#![cfg_attr(feature = "cargo-clippy", allow(explicit_into_iter_loop))] // (unclear why)
8-
#![cfg_attr(feature = "cargo-clippy", allow(explicit_iter_loop))] // (unclear why)
7+
#![cfg_attr(feature = "cargo-clippy", allow(explicit_into_iter_loop))] // explicit loops are clearer
8+
#![cfg_attr(feature = "cargo-clippy", allow(explicit_iter_loop))] // explicit loops are clearer
99
#![cfg_attr(feature = "cargo-clippy", allow(identity_op))] // used for vertical alignment
1010
#![cfg_attr(feature = "cargo-clippy", allow(implicit_hasher))] // large project
1111
#![cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] // large project

0 commit comments

Comments
 (0)