Skip to content

Commit ac3e725

Browse files
committed
Auto merge of #966 - RalfJung:rustup, r=RalfJung
sync AppVeyor CI script with Travis
2 parents 86e498c + 638d989 commit ac3e725

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.appveyor.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,21 @@ cache:
1717
- '%USERPROFILE%\.rustup'
1818

1919
install:
20+
# Compute the rust version we use
21+
- set /p RUSTC_HASH=<rust-version
2022
# Install Rust
2123
- curl -sSf --retry 3 -o rustup-init.exe https://win.rustup.rs/
2224
- rustup-init.exe -y --default-host %TARGET% --default-toolchain stable
2325
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
26+
- rustup default stable
27+
- rustup uninstall beta
28+
- rustup update
2429
# Install "master" toolchain
2530
- cargo install rustup-toolchain-install-master & exit 0
26-
- set /p RUSTC_HASH=<rust-version
2731
- rustup-toolchain-install-master -f -n master %RUSTC_HASH% -c cargo -c rust-src
2832
- rustup default master
2933
- rustc --version
34+
- cargo --version
3035

3136
build_script:
3237
- set RUSTFLAGS=-C debug-assertions

0 commit comments

Comments
 (0)