### ----------------------------------------------------
### -- Acme::Cow
### -- Licenses: Artistic-2.0
### -- Authors: Naoum Hankache
### -- File: appveyor.yml
### ----------------------------------------------------
os: Visual Studio 2015

platform: x64

build: off

install:
  - '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
  - choco install strawberryperl
  - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
  - git clone https://github.com/tadzik/rakudobrew %USERPROFILE%\rakudobrew
  - SET PATH=%USERPROFILE%\rakudobrew\bin;%PATH%
  - rakudobrew build moar 2020.02.1
  - rakudobrew build zef
  - cd %APPVEYOR_BUILD_FOLDER%
  - SET PATH=C:\Users\appveyor\rakudobrew\moar-2020.02.1\install\share\perl6\site\bin;%PATH%
  - SET AUTHOR_TESTING=1
  - zef --verbose --depsonly install .

test_script:
  - prove6 -l --loose -v t

shallow_clone: true


