-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
49 lines (41 loc) · 1.3 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
---
version: 1.0.{build}
image:
- Visual Studio 2015
- Visual Studio 2017
- 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 install -q -y --force-yes build-essential git libssl-dev perl
- sh: export PATH=/home/appveyor/perl5/bin:$PATH
- perl -V
- cmd: mkdir %APPVEYOR_BUILD_FOLDER%\tmp
- cmd: set TMPDIR=%APPVEYOR_BUILD_FOLDER%\tmp
- cpan App::cpanminus
- cmd: cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -qin --skip-satisfied
- cpanm -qin HTTP::Cache::Transparent
- cpanm -qin --installdeps .
- cmd: 'echo End install at: & time /t'
build_script:
- perl Makefile.PL
test_script:
- cmd: gmake test
- sh: make test