File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
environment :
2
2
global :
3
3
PROJECT_NAME : rust-clippy
4
+ RUST_BACKTRACE : 1
4
5
matrix :
5
6
# - TARGET: i686-pc-windows-gnu
6
7
# - TARGET: i686-pc-windows-msvc
@@ -15,28 +16,30 @@ branches:
15
16
16
17
cache :
17
18
- ' %USERPROFILE%\.cargo'
19
+ # before cache
18
20
after_test :
19
21
- cargo install -Z install-upgrade cargo-cache --debug
20
22
- cargo cache --autoclean
21
23
22
24
install :
23
25
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
24
26
- 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
26
29
- del rust-toolchain
27
30
- cargo install -Z install-upgrade rustup-toolchain-install-master
28
31
- 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
32
33
- rustc -V
33
34
- cargo -V
34
35
36
+ # Build settings, not to be confused with "before_build" and "after_build".
35
37
build : false
36
38
37
- test_script :
38
- - set RUST_BACKTRACE=1
39
+ build_script :
39
40
- cargo build --features debugging
41
+
42
+ test_script :
40
43
- cargo test --features debugging
41
44
42
45
notifications :
You can’t perform that action at this time.
0 commit comments