environment:
  matrix:
    - strawberry_version: 5.38.0
      installdeps_options: --verbose --notest
    - strawberry_version: 5.32.1.1
      installdeps_options: --verbose --notest
    - strawberry_version: 5.30.2.1
      installdeps_options: --verbose --notest
      
install:
  - choco install --allowemptychecksum strawberryperl --version %strawberry_version%
  - path C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\strawberry\c\bin;%PATH%
  # get gnuplot
  - ps: Invoke-WebRequest https://github.com/lab-measurement/Lab-Measurement-Homepage/raw/master/gp524-win64-mingw_3.exe -OutFile gp.exe
  - start /wait gp.exe /VERYSILENT /SUPPRESSMSGBOXES
  - path "C:\Program Files\gnuplot\bin";%PATH% 
  - perl -V
  - gnuplot --version
  - cpanm %installdeps_options% --skip-satisfied Dist::Zilla
  - dzil authordeps --missing | cpanm %installdeps_options%
  - dzil listdeps --missing | cpanm %installdeps_options%
  - cpanm %installdeps_options% PDL::Graphics::Gnuplot
build_script:
  - prove --verbose -l -s -r t