forked from shlomif/perl-XML-LibXML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
31 lines (27 loc) · 872 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
---
# Shamelessly taken from https://github.com/plicease/Dist-Zilla-PluginBundle-Author-Plicease/blob/master/.appveyor.yml
# Thanks!
install:
- choco install strawberryperl
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- perl -v
- if not exist C:\Perl5 mkdir C:\Perl5
- SET PATH=C:\Perl5\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- SET PERL5LIB=C:/Perl5/lib/perl5
- SET PERL_LOCAL_LIB_ROOT=C:/Perl5
- SET PERL_MB_OPT=--install_base C:/Perl5
- SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5
- cpanm Alien::Libxml2
- cpanm -n .
build: off
test_script:
- perl Makefile.PL
- gmake
- 'perl -E "system(qw#gmake docs#); exit(0)"'
- perl Makefile.PL
- gmake
- gmake test
- gmake disttest
cache:
- C:\Perl5
shallow_clone: true