File tree 2 files changed +10
-3
lines changed 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,17 @@ matrix:
26
26
ALT=i686-unknown-linux-gnu
27
27
rust : beta
28
28
29
+ # Minimum Rust supported channel. We enable these to make sure we
30
+ # continue to work on the advertised minimum Rust version.
31
+ # However cargo only supports the latest stable so this will get
32
+ # increased every 6 weeks or so when the first PR to use a new feature.
29
33
- env : TARGET=x86_64-unknown-linux-gnu
30
34
ALT=i686-unknown-linux-gnu
31
- rust : nightly
35
+ rust : 1.27.2
32
36
script :
33
- - cargo generate-lockfile -Z minimal-versions
37
+ - rustup toolchain install nightly
38
+ - cargo +nightly generate-lockfile -Z minimal-versions
39
+ - cargo -V
34
40
- cargo check --tests
35
41
36
42
- env : TARGET=x86_64-unknown-linux-gnu
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ install:
12
12
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
13
13
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain nightly
14
14
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
15
+ - if defined MINIMAL_VERSIONS rustup toolchain install stable
15
16
- rustup target add %OTHER_TARGET%
16
17
- rustc -V
17
18
- cargo -V
@@ -22,5 +23,5 @@ clone_depth: 1
22
23
build : false
23
24
24
25
test_script :
25
- - if defined MINIMAL_VERSIONS cargo generate-lockfile -Z minimal-versions && cargo check --tests
26
+ - if defined MINIMAL_VERSIONS cargo +nightly generate-lockfile -Z minimal-versions && cargo +stable check --tests
26
27
- if NOT defined MINIMAL_VERSIONS cargo test
You can’t perform that action at this time.
0 commit comments