forked from eserte/image-info
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
30 lines (26 loc) · 962 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
branches:
except:
- /travis/
skip_tags: true
#cache:
# - C:\strawberry
environment:
matrix:
## ppm downloads do not work anymore, since beginning of June 2024
# - perl: activeperl
# make: dmake
- perl: cygwinperl
make: make
- perl: strawberryperl
make: gmake
install:
- if %perl%==strawberryperl ( if not exist "C:\strawberry" cinst strawberryperl )
- if %perl%==strawberryperl set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
- if not %perl%==cygwinperl perl -v
- if %perl%==cygwinperl c:\cygwin\bin\sh -c "/usr/bin/perl -v"
- cd C:\projects\%APPVEYOR_PROJECT_NAME%
- if %perl%==activeperl ppm install dmake XML-LibXML
- if %perl%==strawberryperl cpanm --installdeps .
build_script:
- if %perl%==cygwinperl c:\cygwin\bin\sh -c "PATH=/usr/bin:/bin; perl Makefile.PL && $make test"
- if not %perl%==cygwinperl ( perl Makefile.PL && %make% test )