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