]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
Merge branch 'master' into fix-3514
[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     - del rust-toolchain
24     - cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
25     - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
26     - rustup default master
27     - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
28     - rustc -V
29     - cargo -V
30
31 build: false
32
33 test_script:
34     - set RUST_BACKTRACE=1
35     - cargo build --features debugging
36     - cargo test --features debugging
37
38 notifications:
39     - provider: Email
40       on_build_success: false