Manage Travis via App::CISetup
Olaf Alders
4 years ago
0 | 0 | --- |
1 | dist: trusty | |
1 | 2 | addons: |
2 | 3 | apt: |
3 | 4 | packages: |
4 | 5 | - aspell |
5 | 6 | - aspell-en |
6 | before_install: | |
7 | - 'eval $(curl https://travis-perl.github.io/init) --auto' | |
8 | - 'cpanm -n App::cpm' | |
7 | language: perl | |
8 | perl: | |
9 | - blead | |
10 | - dev | |
11 | - "5.30" | |
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" | |
9 | 22 | cache: |
10 | 23 | directories: |
11 | - '~/perl5' | |
12 | dist: trusty | |
13 | install: | |
14 | - 'cpan-install --coverage # installs coverage prereqs, if enabled' | |
15 | - 'cpm install -g --workers $(test-jobs)' | |
16 | language: perl | |
24 | - "~/perl5" | |
17 | 25 | matrix: |
18 | 26 | allow_failures: |
19 | - | |
20 | env: COVERAGE=1 | |
21 | fast_finish: 'true' | |
27 | - env: COVERAGE=1 | |
28 | - perl: blead | |
29 | fast_finish: 1 | |
22 | 30 | include: |
23 | - | |
24 | env: COVERAGE=1 | |
25 | perl: '5.28' | |
31 | - env: COVERAGE=1 | |
32 | perl: "5.30" | |
33 | env: | |
34 | global: | |
35 | - AUTHOR_TESTING=1 | |
36 | - RELEASE_TESTING=1 | |
37 | before_install: | |
38 | - eval $(curl https://travis-perl.github.io/init) --auto --always-upgrade-modules | |
39 | install: | |
40 | - cpanm --notest App::cpm | |
41 | - cpm install -g --workers $(test-jobs) | |
42 | script: | |
43 | - prove -lr -j$(test-jobs) t | |
26 | 44 | notifications: |
27 | 45 | email: |
28 | 46 | on_failure: always |
29 | 47 | on_success: always |
30 | 48 | recipients: |
31 | 49 | - olaf@wundersolutions.com |
32 | perl: | |
33 | - '5.10' | |
34 | - '5.12' | |
35 | - '5.14' | |
36 | - '5.16' | |
37 | - '5.18' | |
38 | - '5.20' | |
39 | - '5.22' | |
40 | - '5.24' | |
41 | - '5.26' | |
42 | - '5.28' | |
43 | script: | |
44 | - 'prove -lr -j$(test-jobs) t' | |
50 | ### __app_cisetup__ | |
51 | # --- | |
52 | # force_threaded_perls: 0 | |
53 | # perl_caching: 1 | |
54 | ||
55 | ### __app_cisetup__ |