-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
38 lines (32 loc) · 1.07 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
language: perl
perl:
- "5.28"
- "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
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 RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
script:
- dzil test