]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
07bbbcab54c2291aafc312a0e2630e9706e41d5e
[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     - set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
16     - del rust-toolchain
17     - curl -sSf -o rustup-init.exe https://win.rustup.rs/
18     - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
19     - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin;C:\Users\appveyor\.rustup\toolchains\nightly-%TARGET%\bin
20     - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
21     - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
22     - rustup-toolchain-install-master -f -n master
23     - rustup default master
24     - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
25     - rustc -V
26     - cargo -V
27
28 build: false
29
30 test_script:
31     - set RUST_BACKTRACE=1
32     - cargo build --features debugging
33     - cargo test --features debugging
34     #- copy target\debug\cargo-clippy.exe C:\Users\appveyor\.cargo\bin\
35     #- cargo clippy -- -D clippy
36     #- cd clippy_lints && cargo clippy -- -D clippy && cd ..
37
38 notifications:
39     - provider: Email
40       on_build_success: false