Skip to content

Commit 5576372

Browse files
committed
Workaround by using yesterday's nightly
1 parent 59dceb9 commit 5576372

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ matrix:
3030
ALT=i686-unknown-linux-gnu
3131
rust: 1.31.0
3232
script:
33-
- rustup toolchain install nightly || travis_terminate 1
34-
- cargo +nightly generate-lockfile -Z minimal-versions || travis_terminate 1
33+
- rustup toolchain install nightly-2019-01-09 || travis_terminate 1
34+
- cargo +nightly-2019-01-09 generate-lockfile -Z minimal-versions || travis_terminate 1
3535
- cargo -V || travis_terminate 1
3636
- cargo test --features=deny-warnings || travis_terminate 1
3737
if: branch != master OR type = pull_request
3838

3939
- env: TARGET=x86_64-unknown-linux-gnu
4040
ALT=i686-unknown-linux-gnu
41-
rust: nightly
41+
rust: nightly-2019-01-09
4242
install:
4343
- travis_retry curl -Lf https://github.com/rust-lang-nursery/mdBook/releases/download/v0.1.7/mdbook-v0.1.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=$HOME/.cargo/bin
4444
script:

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
install:
1010
- if NOT defined APPVEYOR_PULL_REQUEST_NUMBER if "%APPVEYOR_REPO_BRANCH%" == "master" appveyor exit
1111
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
12-
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain nightly
12+
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain nightly-2019-01-09
1313
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
1414
- if defined MINIMAL_VERSIONS rustup toolchain install 1.31.0
1515
- if defined OTHER_TARGET rustup target add %OTHER_TARGET%
@@ -25,5 +25,5 @@ test_script:
2525
# we don't have ci time to run the full `cargo test` with `minimal-versions` like
2626
# - if defined MINIMAL_VERSIONS cargo +nightly generate-lockfile -Z minimal-versions && cargo +stable test
2727
# so we just run `cargo check --tests` like
28-
- if defined MINIMAL_VERSIONS cargo +nightly generate-lockfile -Z minimal-versions && cargo +1.31.0 check --tests --features=deny-warnings
28+
- if defined MINIMAL_VERSIONS cargo +nightly-2019-01-09 generate-lockfile -Z minimal-versions && cargo +1.31.0 check --tests --features=deny-warnings
2929
- if NOT defined MINIMAL_VERSIONS cargo test --features=deny-warnings

0 commit comments

Comments
 (0)