-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
43 lines (36 loc) · 1.18 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
language: perl
perl:
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
#- "dev" # installs latest developer release of perl (e.g. 5.21.8)
- "blead" # builds perl from git
sudo: false # faster builds as long as you don't need sudo access
before_install:
- export MY_BASE_DIRECTORY=`pwd`
- eval $(curl https://travis-perl.github.io/init) --auto
- cd ${MY_BASE_DIRECTORY}
# prevent "please tell me who you are errors for certain DZIL configs
- git config --global user.name "Travis CI"
matrix:
allow_failures:
- perl: blead # ignore failures for blead perl
- perl: "5.18" # currently fails on Travis for some odd dzil build reason
include:
- perl: "5.24"
env: COVERAGE=1 # enables coverage+coveralls reporting
install:
# Deal with all the DZIL dependencies, quickly and quietly
- cpanm --quiet --notest --skip-satisfied Dist::Zilla
- dzil authordeps --missing | cpanm --quiet --notest --skip-satisfied
- dzil listdeps --author --develop --missing | cpanm --notest --skip-satisfied
- export HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
script:
- dzil test --all
# end