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 # Only build AppVeyor on r+ and try branch
17 - '%USERPROFILE%\.cargo'
19 - cargo install -Z install-upgrade cargo-cache --debug
20 - cargo cache --autoclean
23 - curl -sSf -o rustup-init.exe https://win.rustup.rs/
24 - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly --profile=minimal
25 - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
27 - cargo install -Z install-upgrade rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
28 - rustup-toolchain-install-master -f -n master
29 - rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
30 - rustup default master
31 - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
38 - set RUST_BACKTRACE=1
39 - cargo build --features debugging
40 - cargo test --features debugging
44 on_build_success: false