]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
Replace remaining `krate.span` with `DUMMY_SP`
[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     only:
12         # This is where pull requests from "bors r+" are built.
13         - staging
14         # This is where pull requests from "bors try" are built.
15         - trying
16         # Also build pull requests.
17         - master
18         
19 install:
20     - curl -sSf -o rustup-init.exe https://win.rustup.rs/
21     - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
22     - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
23     - git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
24     - set /p RUSTC_HASH=<rustc-hash.txt
25     - del rust-toolchain
26     - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
27     - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
28     - rustup default master
29     - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
30     - rustc -V
31     - cargo -V
32
33 build: false
34
35 test_script:
36     - set RUST_BACKTRACE=1
37     - cargo build --features debugging
38     - cargo test --features debugging
39
40 notifications:
41     - provider: Email
42       on_build_success: false