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
23 # uncomment once https://github.com/rust-lang/rust/issues/55376 is fixed
24 # - del rust-toolchain
25 # - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
26 # - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
27 # - rustup default master
28 # - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
35 - set RUST_BACKTRACE=1
36 - cargo build --features debugging
37 - cargo test --features debugging
41 on_build_success: false