-
Notifications
You must be signed in to change notification settings - Fork 105
/
.travis.yml
80 lines (80 loc) · 1.42 KB
/
.travis.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
addons:
apt:
packages:
- aspell
- aspell-en
language: perl
perl:
- "5.32-thr"
- "5.30"
- "5.30-thr"
- "5.28"
- "5.28-thr"
- "5.26"
- "5.26-thr"
- "5.24"
- "5.24-thr"
- "5.22"
- "5.22-thr"
- "5.20"
- "5.20-thr"
- "5.18"
- "5.18-thr"
- "5.16"
- "5.16-thr"
- "5.14"
- "5.14-thr"
- "5.12"
- "5.12-thr"
- "5.10"
- "5.10-thr"
- "5.8"
- "5.8-thr"
- "blead"
- "blead-thr"
- "dev"
- "dev-thr"
env:
global:
- TEST_PARTITIONS=4
- AUTHOR_TESTING=1
- AUTOMATED_TESTING=1
- RELEASE_TESTING=1
branches:
except:
- /^stable\/2\.\d\d$/
matrix:
allow_failures:
- perl: blead
- perl: blead-thr
fast_finish: 1
include:
- perl: "5.20"
env: COVERAGE=1 TEST_PARTITION=1
- perl: "5.20"
env: COVERAGE=1 TEST_PARTITION=2
- perl: "5.20"
env: COVERAGE=1 TEST_PARTITION=3
- perl: "5.20"
env: COVERAGE=1 TEST_PARTITION=4
cache:
directories:
- $HOME/perl5
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --always-upgrade-modules
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR
install:
- cpan-install ExtUtils::MakeMaker~6.68 --deps Devel::PPPort
- cpan-install --coverage
before_script:
- coverage-setup
script:
- perl Makefile.PL
- make
- prove -b -r -s -j$(test-jobs) $(test-files)
after_success:
- coverage-report