Skip to content

Commit

Permalink
Add Appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverbear committed Nov 1, 2018
1 parent 52856d1 commit d849bd0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions appveyor.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
environment:
matrix:
- TARGET: x86_64-pc-windows-gnu
RUST_VERSION: stable
- TARGET: x86_64-pc-windows-gnu
RUST_VERSION: nightly

install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -Vv
- cargo -V

# Building is done in the test phase, so we disable Appveyor's build phase.
build: false

cache:
- C:\Users\appveyor\.cargo\registry
- target

test_script:
- cargo test

0 comments on commit d849bd0

Please sign in to comment.