File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 11environment :
22 global :
33 PROJECT_NAME : rust-clippy
4+ RUST_BACKTRACE : 1
45 matrix :
56 # - TARGET: i686-pc-windows-gnu
67 # - TARGET: i686-pc-windows-msvc
@@ -15,28 +16,30 @@ branches:
1516
1617cache :
1718 - ' %USERPROFILE%\.cargo'
19+ # before cache
1820after_test :
1921 - cargo install -Z install-upgrade cargo-cache --debug
2022 - cargo cache --autoclean
2123
2224install :
2325 - curl -sSf -o rustup-init.exe https://win.rustup.rs/
2426 - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly --profile=minimal
25- - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
27+ - set PATH=%USERPROFILE%\.cargo\bin;%PATH%
28+ - rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
2629 - del rust-toolchain
2730 - cargo install -Z install-upgrade rustup-toolchain-install-master
2831 - rustup-toolchain-install-master -f -n master -c rustc-dev
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
32+ - rustup override set master
3233 - rustc -V
3334 - cargo -V
3435
36+ # Build settings, not to be confused with "before_build" and "after_build".
3537build : false
3638
37- test_script :
38- - set RUST_BACKTRACE=1
39+ build_script :
3940 - cargo build --features debugging
41+
42+ test_script :
4043 - cargo test --features debugging
4144
4245notifications :
You can’t perform that action at this time.
0 commit comments