forked from PerlDancer/Dancer2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
31 lines (25 loc) · 856 Bytes
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Build/Test Configuration for Dancer2
# http://www.appveyor.com/docs/appveyor-yml
# whitelist for branches, so that working on a weird branch would not be tested
branches:
only:
- master
skip_tags: true
cache:
- C:\strawberry
# uses Chocolatey -- like apt or yum for Windows to install 5.24.1 64-bit
# probably a better way to handle installing Dist::Zilla
install:
- if not exist "C:\strawberry" cinst strawberryperl
- set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
- cd C:\projects\%APPVEYOR_PROJECT_NAME%
- cpanm Dist::Zilla
- cpanm Dist::Zilla::PluginBundle::Starter
- cpanm Dist::Zilla::PluginBundle::Git
- cpanm Dist::Zilla::PluginBundle::Dancer
- cpanm Dist::Zilla::Plugin::Prereqs::FromCPANfile
- cpanm --installdeps .
build_script:
- perl -e 2
test_script:
- dzil test