aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rwxr-xr-xappveyor.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100755
index 0000000..c145df3
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,29 @@
+environment:
+ matrix:
+ - TARGET: x86_64-pc-windows-msvc
+ GNUPLOT: yes
+ - TARGET: x86_64-pc-windows-msvc
+ GNUPLOT: no
+
+install:
+ - curl -sSf -o rustup-init.exe https://win.rustup.rs/
+ - rustup-init.exe -y --default-host %TARGET% --default-toolchain stable
+ - SET PATH=%PATH%;C:\Users\appveyor\.cargo\bin
+ - rustc -Vv
+ - cargo -V
+ - ps: if (${env:GNUPLOT} -eq "yes") { Start-FileDownload "https://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.7/gp467-win64-setup.exe"; }
+ - if %GNUPLOT%==yes gp467-win64-setup.exe /VERYSILENT /NORESTART
+ - if %GNUPLOT%==yes SET PATH=%PATH%;C:\Program Files\gnuplot\bin
+
+build: false
+
+test_script:
+ - cargo build --release
+ - cargo test --all --release
+ - cargo build --benches --all --release
+ - cargo bench
+ - cargo doc --release --all --no-deps
+
+branches:
+ only:
+ - master