3 PROJECT_NAME: rust-clippy
6 #- TARGET: i686-pc-windows-gnu
7 #- TARGET: i686-pc-windows-msvc
8 #- TARGET: x86_64-pc-windows-gnu
9 - TARGET: x86_64-pc-windows-msvc
12 # Only build AppVeyor on r+ and try branch
18 - '%USERPROFILE%\.cargo'
21 - cargo install cargo-cache --debug
22 - cargo cache --autoclean
25 - curl -sSf -o rustup-init.exe https://win.rustup.rs/
26 - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly --profile=minimal
27 - set PATH=%USERPROFILE%\.cargo\bin;%PATH%
28 - rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
30 - cargo install rustup-toolchain-install-master
31 - rustup-toolchain-install-master -f -n master -c rustc-dev
32 - rustup override set master
36 # Build settings, not to be confused with "before_build" and "after_build".
40 - cargo build --features deny-warnings
43 - cargo test --features deny-warnings
47 on_build_success: false