]> git.lizzy.rs Git - rust.git/blob - appveyor.yml
94f9500ab85f253205072422bd11d578b5b364fc
[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 install:
11     - curl -sSf -o rustup-init.exe https://win.rustup.rs/
12     - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
13     - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
14     # https://support.microsoft.com/en-us/help/2524009/error-running-command-shell-scripts-that-include-parentheses
15     - if defined GITHUB_TOKEN del rust-toolchain
16     - if defined GITHUB_TOKEN (cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed")
17     - if defined GITHUB_TOKEN rustup-toolchain-install-master -f -n master --github-token %GITHUB_TOKEN%
18     - if defined GITHUB_TOKEN rustup default master
19     - if defined GITHUB_TOKEN set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
20     - rustc -V
21     - cargo -V
22
23 build: false
24
25 test_script:
26     - set RUST_BACKTRACE=1
27     - cargo build --features debugging
28     - cargo test --features debugging
29
30 notifications:
31     - provider: Email
32       on_build_success: false