1environment:
2  matrix:
3    - TARGET: x86_64-pc-windows-msvc
4      GNUPLOT: yes
5    - TARGET: x86_64-pc-windows-msvc
6      GNUPLOT: no
7
8cache:
9  - 'C:\Users\appveyor\.cargo'
10
11install:
12  - curl -sSf -o rustup-init.exe https://win.rustup.rs/
13  - rustup-init.exe -y --default-host %TARGET% --default-toolchain stable
14  - SET PATH=%PATH%;C:\Users\appveyor\.cargo\bin
15  - rustc -Vv
16  - cargo -V
17  - ps: if (${env:GNUPLOT} -eq "yes") { Start-FileDownload "https://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.7/gp467-win64-setup.exe";  }
18  - if %GNUPLOT%==yes gp467-win64-setup.exe /VERYSILENT /NORESTART
19  - if %GNUPLOT%==yes SET PATH=%PATH%;C:\Program Files\gnuplot\bin
20
21build: false
22
23test_script:
24  - cargo build --release
25  - cargo test --all --release
26  - cargo build --benches --all --release
27# Disable benchmarking until performance can be improved.
28#  - cargo bench
29  - cargo doc --release --all --no-deps
30
31branches:
32  only:
33    - master
34