]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
Rustup `macro expansion and resolution`
[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 default master
26     - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
27     - rustc -V
28     - cargo -V
29
30 build: false
31
32 test_script:
33     - set RUST_BACKTRACE=1
34     - cargo build --features debugging
35     - cargo test --features debugging
36
37 notifications:
38     - provider: Email
39       on_build_success: false