-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.appveyor.yml
54 lines (46 loc) · 1.79 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
---
version: 1.0.{build}
image:
- Visual Studio 2019
- ubuntu1804
- Ubuntu
environment:
PERL5LIB: /home/appveyor/perl5/lib/perl5
AUTOMATED_TESTING: 1
# TEST_VERBOSE: 1
DEBIAN_FRONTEND: noninteractive
PERL_MM_USE_DEFAULT: 1
NO_NETWORK_TESTING: 1
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%
# Currently fails on http://apt.postgresql.org/pub/repos/apt bionic-pgdg Release
- sh: sudo apt 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 perl libio-aio-perl liblingua-en-nameparse-perl
- 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
- sh: sudo apt-get install -y cpanminus libchi-perl libjson-perl libconfig-auto-perl libipc-system-simple-perl libautodie-perl libtext-csv-xs-perl liblog-log4perl-perl libdbd-sqlite3-perl libtext-csv-perl
- cpanm -iqn LWP::Simple::WithCache Log::Any::Adapter::Log4perl
- cpanm -iqnf DBIx::TableLoader
- sh: cpanm -iqn Text::xSV::Slurp
- cmd: cpanm -iqn Log::Log4perl CGI::IDS Data::Throttler File::Open::NoCache::ReadOnly IO::AIO
- cpanm -iqn CGI::Lingua
- cpanm -qin --skip-satisfied --installdeps .
- cmd: cpanm -iqn CHI
- cmd: cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -qin --skip-satisfied
- cmd: 'echo End install at: & time /t'
build_script:
- perl Makefile.PL
test_script:
- cmd: gmake test
- sh: make test