From 043eddd0f6751867513577cb2041f98ee74c6c34 Mon Sep 17 00:00:00 2001 From: Hoverbear Date: Thu, 1 Nov 2018 07:49:56 -0700 Subject: [PATCH] Add Appveyor --- appveyor.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..4d2bf6d6a --- /dev/null +++ b/appveyor.yml @@ -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