]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
Merge #3364
[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
10 branches:
11     # Don't build these branches
12     except:
13         # Used by bors
14         - trying.tmp
15         - staging.tmp
16
17 install:
18     - curl -sSf -o rustup-init.exe https://win.rustup.rs/
19     - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
20     - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
21     - git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
22     - set /p RUSTC_HASH=<rustc-hash.txt
23 # uncomment once https://github.com/rust-lang/rust/issues/55376 is fixed
24 #    - del rust-toolchain
25 #    - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
26 #    - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
27 #    - rustup default master
28 #    - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
29     - rustc -V
30     - cargo -V
31
32 build: false
33
34 test_script:
35     - set RUST_BACKTRACE=1
36     - cargo build --features debugging
37     - cargo test --features debugging
38
39 notifications:
40     - provider: Email
41       on_build_success: false