]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
Auto merge of #4560 - rust-lang:must-use-pure, r=phansch
[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 build AppVeyor on r+ and try branch
12     only:
13       - auto
14       - try
15
16 install:
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
20     - del rust-toolchain
21     - cargo install --git https://github.com/kennytm/rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
22     - rustup-toolchain-install-master -f -n master
23     - rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
24     - rustup default master
25     - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
26     - rustc -V
27     - cargo -V
28
29 build: false
30
31 test_script:
32     - set RUST_BACKTRACE=1
33     - cargo build --features debugging
34     - cargo test --features debugging
35
36 notifications:
37     - provider: Email
38       on_build_success: false