]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
Allow non-ascii characters in changelog check
[rust.git] / appveyor.yml
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
10
11 branches:
12   # Only build AppVeyor on r+ and try branch
13   only:
14     - auto
15     - try
16
17 cache:
18   - '%USERPROFILE%\.cargo'
19 # before cache
20 after_test:
21   - cargo install cargo-cache --debug
22   - cargo cache --autoclean
23
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 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
36 # Build settings, not to be confused with "before_build" and "after_build".
37 build: false
38
39 build_script:
40   - cargo build --features deny-warnings
41
42 test_script:
43   - cargo test --features deny-warnings
44
45 notifications:
46   - provider: Email
47     on_build_success: false