/
.appveyor.yml
40 lines (32 loc) · 1.13 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
version: 1.0.{build}
image:
- Visual Studio 2015
- Ubuntu
- ubuntu1804
environment:
PERL5LIB: /home/appveyor/perl5/lib/perl5
AUTOMATED_TESTING: 1
DEBIAN_FRONTEND: noninteractive
platform: x64
branches:
only:
- master
skip_tags: true
install:
- cmd: if not exist "C:\strawberry" cinst StrawberryPerl --allow-empty-checksums
- cmd: path C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
# - cmd: cd C:\projects\%APPVEYOR_PROJECT_NAME%
- sh: sudo apt-get update -q -y
- sh: sudo DEBIAN_FRONTEND=noninteractive apt-get install -q -y --force-yes build-essential git libssl-dev perl
- sh: sudo apt-get install -y cpanminus
- sh: export PATH=/home/appveyor/perl5/bin:$PATH
- perl -V
- cmd: mkdir %APPVEYOR_BUILD_FOLDER%\tmp
- cmd: set TMPDIR=%APPVEYOR_BUILD_FOLDER%\tmp
- cmd: cpan App::cpanminus
- cpanm -iqn --skip-satisfied Carp Data::Throttler CGI::IDS Data::Validate::URI DateTime LWP::Simple::WithCache XML::LibXML B::Lint warnings::unused
- cmd: 'echo End install at: & time /t'
build: off
test_script:
- perl -MO=Lint Allow.pm
- perl -cwT -Mwarnings::unused Allow.pm