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 - curl -sSf -o rustup-init.exe https://win.rustup.rs/
12 - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
13 - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
14 - git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
15 - set /p RUSTC_HASH=<rustc-hash.txt
17 - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
18 - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
19 - rustup default master
20 - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
27 - set RUST_BACKTRACE=1
28 - cargo build --features debugging
29 - cargo test --features debugging
33 on_build_success: false