-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (30 loc) · 1.41 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
sudo: false # Migrating from legacy to container-based infrastructure for Travis
# Ref: http://docs.travis-ci.com/user/migrating-from-legacy/
dist: trusty
language: perl
perl:
- "5.30"
- "5.14"
before_install:
# Prevent "Please tell me who you are" errors for certain DZIL configs
- git config --global user.name "TravisCI"
install:
# Deal with all of the DZIL dependencies, quickly and quietly
- cpanm --quiet --notest --skip-satisfied Dist::Zilla
# Hack to getting the latest Test::Kwalitee
- cpanm --quiet --notest Test::Kwalitee
# Getting coveralls report
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
# Getting cover command for Dist::Zilla
- cpanm --quiet --notest Dist::Zilla::App::Command::cover
# Getting all the plugins used by Dist::Zilla in this particular setup
- dzil authordeps | grep -vP '[^\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest --skip-satisfied
# Getting all the dependencies requested by author
- dzil listdeps --author | cpanm --quiet --notest --skip-satisfied
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
# Getting all the dependencies requested by distribution
- dzil listdeps | grep -vP '[^\w:]' | cpanm --quiet --notest --skip-satisfied
script:
- dzil smoke --release --author
after_success:
- dzil cover -outputdir cover_db -report coveralls