|
1 | 1 | environment: |
2 | | - global: |
3 | | - PROJECT_NAME: rust-clippy |
4 | | - RUST_BACKTRACE: 1 |
5 | | - matrix: |
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 |
| 2 | + global: |
| 3 | + PROJECT_NAME: rust-clippy |
| 4 | + RUST_BACKTRACE: 1 |
| 5 | + matrix: |
| 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 |
10 | 10 |
|
11 | 11 | branches: |
12 | | - # Only build AppVeyor on r+ and try branch |
13 | | - only: |
14 | | - - auto |
15 | | - - try |
| 12 | + # Only build AppVeyor on r+ and try branch |
| 13 | + only: |
| 14 | + - auto |
| 15 | + - try |
16 | 16 |
|
17 | 17 | cache: |
18 | | - - '%USERPROFILE%\.cargo' |
| 18 | + - '%USERPROFILE%\.cargo' |
19 | 19 | # before cache |
20 | 20 | after_test: |
21 | | - - cargo install -Z install-upgrade cargo-cache --debug |
22 | | - - cargo cache --autoclean |
| 21 | + - cargo install -Z install-upgrade cargo-cache --debug |
| 22 | + - cargo cache --autoclean |
23 | 23 |
|
24 | 24 | install: |
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 |
29 | | - - del rust-toolchain |
30 | | - - cargo install -Z install-upgrade rustup-toolchain-install-master |
31 | | - - rustup-toolchain-install-master -f -n master -c rustc-dev |
32 | | - - rustup override set master |
33 | | - - rustc -V |
34 | | - - cargo -V |
| 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 |
| 29 | + - del rust-toolchain |
| 30 | + - cargo install -Z install-upgrade rustup-toolchain-install-master |
| 31 | + - rustup-toolchain-install-master -f -n master -c rustc-dev |
| 32 | + - rustup override set master |
| 33 | + - rustc -V |
| 34 | + - cargo -V |
35 | 35 |
|
36 | 36 | # Build settings, not to be confused with "before_build" and "after_build". |
37 | 37 | build: false |
38 | 38 |
|
39 | 39 | build_script: |
40 | | - - cargo build --features debugging |
| 40 | + - cargo build --features debugging |
41 | 41 |
|
42 | 42 | test_script: |
43 | | - - cargo test --features debugging |
| 43 | + - cargo test --features debugging |
44 | 44 |
|
45 | 45 | notifications: |
46 | | - - provider: Email |
47 | | - on_build_success: false |
| 46 | + - provider: Email |
| 47 | + on_build_success: false |
0 commit comments