skip_tags: true

cache:
  - C:\strawberry

install:
  - if not exist "C:\strawberry" cinst strawberryperl -y
  - set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
  - cd C:\projects\%APPVEYOR_PROJECT_NAME%
  - cpanm -n Dist::Zilla Pod::Markdown
  - dzil authordeps --missing | cpanm -n
  - dzil listdeps --author --missing | cpanm

build_script:
  - perl -e 2

test_script:
  - dzil test

notifications:
  - provider: Slack
    auth_token:
      secure: 1XmVVszAQyTtMdNkyWup8p7AC9iqXkMl6QMchq3Xu7L7rCzYgjjlS/mas+bfp3ouyjPKnoh01twl4eB0Xs/1Ig==
    channel: '#general'
    on_build_success: false
    on_build_failure: true
    on_build_status_changed: true
