Skip to content

Commit 43a7171

Browse files
committed
Manage Travis config via setup-travis-yml.pl
1 parent b1bdf88 commit 43a7171

File tree

1 file changed

+32
-24
lines changed

1 file changed

+32
-24
lines changed

.travis.yml

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,47 @@ addons:
44
packages:
55
- aspell
66
- aspell-en
7+
language: perl
8+
perl:
9+
- blead
10+
- dev
11+
- '5.28'
12+
- '5.26'
13+
- '5.24'
14+
- '5.22'
15+
- '5.20'
16+
- '5.18'
17+
- '5.16'
18+
- '5.14'
19+
- '5.12'
20+
- '5.10'
721
cache:
822
directories:
923
- '~/perl5'
10-
language: perl
11-
perl:
12-
- "5.28"
13-
- "5.26"
14-
- "5.24"
15-
- "5.22"
16-
- "5.20"
17-
- "5.18"
18-
- "5.16"
19-
- "5.14"
20-
- "5.12"
21-
- "5.10"
22-
- "blead" # builds perl from git
24+
matrix:
25+
allow_failures:
26+
- perl: blead
27+
fast_finish: 1
28+
include:
29+
- env: COVERAGE=1
30+
perl: '5.28'
2331
env:
2432
global:
2533
- AUTHOR_TESTING=1
2634
- AUTOMATED_TESTING=1
2735
- RELEASE_TESTING=1
28-
matrix:
29-
include:
30-
- perl: 5.28
31-
env: COVERAGE=1 # enables coverage+coveralls reporting
32-
allow_failures:
33-
- perl: blead # ignore failures for blead perl
3436
before_install:
3537
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
3638
- source ~/travis-perl-helpers/init
3739
- build-perl
3840
- perl -V
3941
- build-dist
40-
- cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command
42+
- cd $BUILD_DIR
4143
install:
42-
- cpan-install --deps # installs prereqs, including recommends
43-
- cpan-install --coverage # installs converage prereqs, if enabled
44+
- cpan-install --deps
45+
- cpan-install --coverage
4446
before_script:
4547
- coverage-setup
46-
after_success:
47-
- coverage-report
4848
script:
4949
- perl Makefile.PL
5050
- make
@@ -53,3 +53,11 @@ script:
5353
- unset AUTHOR_TESTING; unset AUTOMATED_TESTING; unset RELEASE_TESTING
5454
- cpanm --test-only HTTP::Message || ( cat ~/.cpanm/build.log; false )
5555
- cpanm --test-only LWP || ( cat ~/.cpanm/build.log; false )
56+
after_success:
57+
- coverage-report
58+
### __app_cisetup__
59+
# ---
60+
# force_threaded_perls: 0
61+
# perl_caching: 1
62+
63+
### __app_cisetup__

0 commit comments

Comments
 (0)