Commit | Line | Data |
209210df |
1 | language: perl |
4d7949d9 |
2 | sudo: false |
209210df |
3 | perl: |
3e9adc7c |
4 | - "blead" # builds perl from git |
5 | - "dev" # latest point release |
6 | - "5.28" |
e802107a |
7 | - "5.26" |
2419db2c |
8 | - "5.24" |
49b1808f |
9 | - "5.22" |
94c34b14 |
10 | - "5.20" |
44cf0958 |
11 | - "5.18" |
209210df |
12 | - "5.16" |
13 | - "5.14" |
14 | - "5.12" |
15 | - "5.10" |
adde9a4e |
16 | - "5.8" |
3e9adc7c |
17 | matrix: |
18 | allow_failures: |
19 | - perl: blead |
20 | - perl: dev |
209210df |
21 | |
c469bbef |
22 | before_install: |
66dcda7e |
23 | - eval $(curl https://travis-perl.github.io/init) --perl |
c469bbef |
24 | - $HELPERS_ROOT/bin/cpan-config |
209210df |
25 | install: |
cea573d8 |
26 | - cpanm --notest --metacpan --skip-satisfied --with-develop --installdeps . |
27 | - perl Makefile.PL |
209210df |
28 | |
6168fe6b |
29 | # enable various test options, including parallel testing |
30 | - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 |
31 | |
209210df |
32 | # we want these for our tests, but not for any others |
33 | - export AUTHOR_TESTING=1 |
34 | - export RELEASE_TESTING=1 |
1efe7373 |
35 | - export PERL_AUTOINSTALL=--skip |
209210df |
36 | |
37 | - make manifest |
38 | |
39 | script: |
40 | - make disttest |
2aa2f26a |
41 | |
42 | # Test reverse deps (high-profile modules, taken from from Task::Catalyst): |
43 | # (note: currently skipping DBIC deps for speed) |
44 | - make install |
45 | |
5cff3cab |
46 | - export AUTHOR_TESTING=0 |
47 | - export RELEASE_TESTING=0 |
48 | |
2aa2f26a |
49 | # pure author deps (of reverse deps): |
50 | - cpanm --notest --metacpan --skip-satisfied YAML::Syck |
51 | |
52 | # both author deps & reverse deps: |
55c5e117 |
53 | - cpanm --metacpan --skip-satisfied Catalyst::View::TT || ( cat ~/.cpanm/build.log; false ) |
54 | - cpanm --metacpan --skip-satisfied Catalyst::Plugin::Authentication || ( cat ~/.cpanm/build.log; false ) |
2aa2f26a |
55 | |
56 | # pure reverse deps (call with --test-only): |
55c5e117 |
57 | - cpanm --test-only --metacpan -v Catalyst::Devel |
58 | - cpanm --test-only --metacpan -v Catalyst::Action::REST |
59 | - cpanm --test-only --metacpan -v Catalyst::Component::InstancePerContext |
60 | - cpanm --test-only --metacpan -v Catalyst::Plugin::Session |
61 | - cpanm --test-only --metacpan -v Catalyst::Plugin::Session::State::Cookie |
62 | - cpanm --test-only --metacpan -v Catalyst::Plugin::Static::Simple |
63 | - cpanm --test-only --metacpan -v Catalyst::Plugin::ConfigLoader |
b87b8e45 |
64 | #- cpanm --test-only --verbose --metacpan Catalyst::Authentication::Credential::HTTP |
2aa2f26a |
65 | |
66 | # Still need to figure out why these fail in travis: |
67 | #- cpanm --test-only --metacpan -v Catalyst::View::Email |
68 | #- cpanm --test-only --metacpan -v Catalyst::Plugin::Session::Store::File |
69 | #- cpanm --test-only --metacpan -v Catalyst::Plugin::I18N |