]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
e43750c30a6aae38205e685d423c632755327b73
[rust.git] / appveyor.yml
1 environment:
2     global:
3         PROJECT_NAME: rust-clippy
4     matrix:
5         #- TARGET: i686-pc-windows-gnu
6         #- TARGET: i686-pc-windows-msvc
7         #- TARGET: x86_64-pc-windows-gnu
8         - TARGET: x86_64-pc-windows-msvc
9           MSYS2_BITS: 64
10
11 install:
12     - set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
13     - del rust-toolchain
14     - curl -sSf -o rustup-init.exe https://win.rustup.rs/
15     - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
16     - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin;C:\Users\appveyor\.rustup\toolchains\nightly-%TARGET%\bin
17     - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
18     - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
19     - rustup-toolchain-install-master -f -n master
20     - rustup default master
21     - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
22     - rustc -V
23     - cargo -V
24
25 build: false
26
27 test_script:
28     - set RUST_BACKTRACE=1
29     - cargo build --features debugging
30     - cargo test --features debugging
31
32 notifications:
33     - provider: Email
34       on_build_success: false