forked from wbraswell/rperl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
58 lines (36 loc) · 1.55 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
# v0.012_000
version: 1.0.{build}
pull_requests:
do_not_increment_build_number: false
skip_tags: true
clone_depth: 1
clone_folder: C:\projects\rperl
# This file replaces & expands upon the original AppVeyor test command sequence:
# AppVeyor.com -> rperl -> Settings -> Test -> Script -> CMD
# choco install strawberryperl --forceX86 && set PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\windows\system32;C:\windows; && gcc -v && g++ -v && perl -V && dmake -V || perl Makefile.PL && perl -e"require CPAN;CPAN::Shell->notest('install','App::cpanminus');" && cpanm -n -v --installdeps . && set RPERL_DEBUG=1 && set RPERL_VERBOSE=1 && dmake test
# DEV NOTE: do not test IO::Socket::SSL, about 50% of the time it hangs on the test after "t/sysread_write.t ................. ok"
install:
- cmd: >-
choco install astyle
astyle --version
choco install curl
curl -V
curl -O https://strawberryperl.com/download/5.24.0.1/strawberry-perl-5.24.0.1-32bit.msi
msiexec /i strawberry-perl-5.24.0.1-32bit.msi /quiet /qn /norestart
set PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\windows\system32;C:\windows;%path%
gcc -v
g++ -v
perl -V
perl Makefile.PL
perl -e"require CPAN;CPAN::Shell->notest('install','App::cpanminus');"
cpanm --verbose --notest IO::Socket::SSL
cpanm --verbose --installdeps .
set RPERL_DEBUG=0
set RPERL_VERBOSE=0
set PERL5LIB=blib;lib
set
perl -le "print for @INC"
dmake test
build: off
test: off
deploy: off