forked from harleypig/Dist-Zilla-Plugin-Test-Legal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (41 loc) · 837 Bytes
/
.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
language: perl
perl:
- "5.20"
- "5.20-extras"
- "5.18"
- "5.18-extras"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
- "5.8"
sudo: false
env:
- RELEASE_TESTING=1 AUTHOR_TESTING=1 AUTOMATED_TESTING=1 SKIP_POD_LINKCHECK=1
- COVERAGE=1 AUTOMATED_TESTING=1
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR
install:
- cpan-install --toolchain
- cpan-install --deps
- cpan-install --coverage
before_script:
- coverage-setup
script:
- prove -l -s -j$(test-jobs) $(test-files)
matrix:
allow_failures:
- perl: "5.20-extras"
- perl: "5.18-extras"
fast_finish: true
branches:
only:
- /^release_testing\/.*/
- /^release$/
after_success:
- coverage-report