- TARGET: x86_64-pc-windows-msvc
branches:
- # Don't build these branches
- except:
- # Used by bors
- - trying.tmp
- - staging.tmp
+ # Only build AppVeyor on r+, try and the master branch
+ only:
+ - auto
+ - try
+ - master
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
- set /p RUSTC_HASH=<rustc-hash.txt
- del rust-toolchain
- - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
+ - cargo install rustup-toolchain-install-master --debug || 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