]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
Auto merge of #4683 - HMPerson1:inefficient_to_string, r=Manishearth
[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 cache:
17     - '%USERPROFILE%\.cargo'
18 on_finish:
19     - cargo install -Z install-upgrade cargo-cache --debug
20     - cargo cache --autoclean
21
22 install:
23     - curl -sSf -o rustup-init.exe https://win.rustup.rs/
24     - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly --profile=minimal
25     - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
26     - del rust-toolchain
27     - cargo install -Z install-upgrade rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
28     - rustup-toolchain-install-master -f -n master
29     - rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
30     - rustup default master
31     - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
32     - rustc -V
33     - cargo -V
34
35 build: false
36
37 test_script:
38     - set RUST_BACKTRACE=1
39     - cargo build --features debugging
40     - cargo test --features debugging
41
42 notifications:
43     - provider: Email
44       on_build_success: false