-
Notifications
You must be signed in to change notification settings - Fork 26
/
appveyor.yml
62 lines (50 loc) · 2.19 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
cache:
- C:\projects\sources
install:
- set SOURCES="C:\projects\sources"
- if not exist "%SOURCES%" mkdir "%SOURCES%"
- del "%SOURCES%\*.msi"
- del "%SOURCES%\*.zip"
- git config --global user.name "p5-Git-Raw"
- git config --global user.email "[email protected]"
# download
- set PERL526PACKAGE=strawberry-perl-5.26.3.1-64bit-portable.zip
- set PERL524PACKAGE=strawberry-perl-5.24.4.1-64bit-portable.zip
- set PERL522PACKAGE=strawberry-perl-5.22.3.1-64bit-portable.zip
- curl -fsS -o "%SOURCES%\%PERL526PACKAGE%" https://strawberryperl.com/download/5.26.3.1/%PERL526PACKAGE%
- curl -fsS -o "%SOURCES%\%PERL524PACKAGE%" https://strawberryperl.com/download/5.24.4.1/%PERL524PACKAGE%
- curl -fsS -o "%SOURCES%\%PERL522PACKAGE%" https://strawberryperl.com/download/5.22.3.1/%PERL522PACKAGE%
- set PERL526=C:\projects\perl526
- set PERL524=C:\projects\perl524
- set PERL522=C:\projects\perl522
- 7z x "%SOURCES%\%PERL526PACKAGE%" -o"%PERL526%"
- 7z x "%SOURCES%\%PERL524PACKAGE%" -o"%PERL524%"
- 7z x "%SOURCES%\%PERL522PACKAGE%" -o"%PERL522%"
- set OLDPATH=%PATH%
- set PATH=%PERL522%\perl\bin;%PERL522%\perl\site\bin;%PERL522%\c\bin;%OLDPATH%
- cd C:\projects\p5-Git-Raw
- cpanm --notest --quiet Dist::Zilla Dist::Zilla::PluginBundle::Author::JACQUESG App::Ack
- dzil authordeps --missing | ack -v "inc::" | cpanm --notest --quiet
- dzil listdeps --missing | cpanm --notest --quiet
- dzil build --in Git-Raw-526
- xcopy Git-Raw-526 Git-Raw-524 /i /O /X /E /H /K
- xcopy Git-Raw-526 Git-Raw-522 /i /O /X /E /H /K
build_script:
- set PATH=%PERL526%\perl\bin;%PERL526%\perl\site\bin;%PERL526%\c\bin;%OLDPATH%
- cd C:\projects\p5-Git-Raw\Git-Raw-526
- perl -V
- cpanm --quiet --notest Devel::CheckLib File::Slurp::Tiny
- perl Makefile.PL
- gmake test
- set PATH=%PERL524%\perl\bin;%PERL524%\perl\site\bin;%PERL524%\c\bin;%OLDPATH%
- cd C:\projects\p5-Git-Raw\Git-Raw-524
- perl -V
- cpanm --quiet --notest Devel::CheckLib File::Slurp::Tiny
- perl Makefile.PL
- dmake test
- set PATH=%PERL522%\perl\bin;%PERL522%\perl\site\bin;%PERL522%\c\bin;%OLDPATH%
- cd C:\projects\p5-Git-Raw\Git-Raw-522
- perl -V
- cpanm --quiet --notest Devel::CheckLib File::Slurp::Tiny
- perl Makefile.PL
- dmake test