]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
Merge pull request #1581 from Manishearth/cargofix
[rust.git] / appveyor.yml
1 environment:
2     global:
3         PROJECT_NAME: rust-clippy
4     matrix:
5         - TARGET: i686-pc-windows-gnu
6           MSYS2_BITS: 32
7         - TARGET: i686-pc-windows-msvc
8           MSYS2_BITS: 32
9         - TARGET: x86_64-pc-windows-gnu
10           MSYS2_BITS: 64
11         - TARGET: x86_64-pc-windows-msvc
12           MSYS2_BITS: 64
13
14 install:
15     - curl -sSf -o rustup-init.exe https://win.rustup.rs/
16     - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
17     - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin;C:\Users\appveyor\.rustup\toolchains\nightly-%TARGET%\bin
18     - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
19     - rustc -V
20     - cargo -V
21
22 build: false
23
24 test_script:
25     - set RUST_BACKTRACE=1
26     - cargo build --features debugging
27     - cargo test --features debugging
28     - copy target\debug\cargo-clippy.exe C:\Users\appveyor\.cargo\bin\
29     - cargo clippy -- -D clippy
30     - cd clippy_lints && cargo clippy -- -D clippy && cd ..
31
32 notifications:
33     - provider: Email
34       on_build_success: false