3 PROJECT_NAME: rust-clippy
5 #- TARGET: i686-pc-windows-gnu
6 #- TARGET: i686-pc-windows-msvc
7 #- TARGET: x86_64-pc-windows-gnu
8 - TARGET: x86_64-pc-windows-msvc
11 # Don't build these branches
18 - curl -sSf -o rustup-init.exe https://win.rustup.rs/
19 - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
20 - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
21 - git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
22 - set /p RUSTC_HASH=<rustc-hash.txt
24 - cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
25 - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
26 - rustup default master
27 - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
34 - set RUST_BACKTRACE=1
35 - cargo build --features debugging
36 - cargo test --features debugging
40 on_build_success: false