-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
34 lines (28 loc) · 853 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
31
32
33
34
version: 1.0.{build}
clone_depth: 1
configuration:
- Strawberry
- ActivePerl
matrix:
fast_finish: true
install:
- ps: |-
$env:make = "dmake"
If (${env:CONFIGURATION} -eq "ActivePerl") {
$env:Path = "C:\MinGW;C:\MinGW\bin;C:\MinGW\msys\1.0;" + $env:Path
ppm install dmake Test::Pod
lwp-download https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm C:/projects/cpanm
perl -V
perl C:/projects/cpanm -q --with-develop --with-suggests --installdeps .
} else {
cinst StrawberryPerl
$env:Path = "C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;" + $env:Path
perl -V
cpanm -q --with-develop --with-suggests --installdeps .
$env:make = "gmake"
}
build_script:
- perl Makefile.PL
test_script:
- '%make% test'
- prove -bv xt/*.t