]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
Auto merge of #4229 - euclio:lint-doc-generation-fix, r=flip1995
[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     - git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
21     - set /p RUSTC_HASH=<rustc-hash.txt
22     - del rust-toolchain
23     - cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
24     - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
25     - rustup component add rustfmt --toolchain nightly
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