Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appveyor: minor syntax change #4724

Merged
merged 2 commits into from
Oct 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
environment:
global:
PROJECT_NAME: rust-clippy
RUST_BACKTRACE: 1
matrix:
#- TARGET: i686-pc-windows-gnu
#- TARGET: i686-pc-windows-msvc
Expand All @@ -15,28 +16,30 @@ branches:

cache:
- '%USERPROFILE%\.cargo'
# before cache
after_test:
- cargo install -Z install-upgrade cargo-cache --debug
- cargo cache --autoclean

install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly --profile=minimal
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
- rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
- del rust-toolchain
- cargo install -Z install-upgrade rustup-toolchain-install-master
- rustup-toolchain-install-master -f -n master -c rustc-dev
- rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
- rustup default master
- set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
- rustup override set master
- rustc -V
- cargo -V

# Build settings, not to be confused with "before_build" and "after_build".
build: false

test_script:
- set RUST_BACKTRACE=1
build_script:
- cargo build --features debugging

test_script:
- cargo test --features debugging

notifications:
Expand Down