environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
GNUPLOT: yes
- TARGET: x86_64-pc-windows-msvc
GNUPLOT: no
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
- rustc -V
- 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 bench
- cargo doc --release --all --no-deps
branches:
only:
- master