Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit 3069890

Browse files
committed
only test minimal-versions on nightly
1 parent 88daa37 commit 3069890

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ rust:
44
- stable
55
- beta
66
- nightly
7-
before_script:
8-
- rustup toolchain install nightly
97
script:
108
- cargo build --verbose
119
- cargo test --verbose
1210
- cargo doc
13-
- cargo +nightly generate-lockfile -Z minimal-versions
14-
- cargo build --verbose
15-
- cargo test --verbose
11+
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
12+
cargo +nightly generate-lockfile -Z minimal-versions;
13+
cargo build --verbose;
14+
cargo test --verbose;
15+
fi

0 commit comments

Comments
 (0)