mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Merge #3384
3384: make ci use master rustc instead of nightly r=flip1995 a=matthiaskrgr Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
This commit is contained in:
commit
e695015caa
2 changed files with 13 additions and 16 deletions
18
.travis.yml
18
.travis.yml
|
@ -63,8 +63,7 @@ matrix:
|
|||
- env: INTEGRATION=chronotope/chrono
|
||||
- env: INTEGRATION=serde-rs/serde
|
||||
- env: INTEGRATION=Geal/nom
|
||||
# uncomment once https://github.com/rust-lang/rust/issues/55376 is fixed
|
||||
# - env: INTEGRATION=hyperium/hyper
|
||||
- env: INTEGRATION=hyperium/hyper
|
||||
allow_failures:
|
||||
- os: windows
|
||||
env: BASE_TEST=true
|
||||
|
@ -75,14 +74,13 @@ matrix:
|
|||
- os: windows
|
||||
|
||||
script:
|
||||
# uncomment once https://github.com/rust-lang/rust/issues/55376 is fixed
|
||||
# - |
|
||||
# rm rust-toolchain
|
||||
# cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
|
||||
# RUSTC_HASH=$(git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}')
|
||||
# travis_retry rustup-toolchain-install-master -f -n master $RUSTC_HASH
|
||||
# rustup default master
|
||||
# export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
|
||||
- |
|
||||
rm rust-toolchain
|
||||
cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
|
||||
RUSTC_HASH=$(git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}')
|
||||
travis_retry rustup-toolchain-install-master -f -n master $RUSTC_HASH
|
||||
rustup default master
|
||||
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
|
||||
- |
|
||||
if [ -z ${INTEGRATION} ]; then
|
||||
./ci/base-tests.sh && sleep 5
|
||||
|
|
11
appveyor.yml
11
appveyor.yml
|
@ -20,12 +20,11 @@ install:
|
|||
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
||||
- git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
|
||||
- set /p RUSTC_HASH=<rustc-hash.txt
|
||||
# uncomment once https://github.com/rust-lang/rust/issues/55376 is fixed
|
||||
# - del rust-toolchain
|
||||
# - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
|
||||
# - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
|
||||
# - rustup default master
|
||||
# - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
|
||||
- del rust-toolchain
|
||||
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
|
||||
- rustup-toolchain-install-master %RUSTC_HASH% -f -n master
|
||||
- rustup default master
|
||||
- set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
|
||||
- rustc -V
|
||||
- cargo -V
|
||||
|
||||
|
|
Loading…
Reference in a new issue