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 | |
15 | install: |
cea573d8 |
16 | - cpanm --notest --metacpan --skip-satisfied --with-develop --installdeps . |
17 | - perl Makefile.PL |
209210df |
18 | |
8098d754 |
19 | # installing Catalyst::Devel above causes the latest release of |
20 | # Catalyst::Runtime to be installed, but the version we're testing might |
21 | # have additional deps that aren't yet satisfied. so we should try |
22 | # installing deps again now that the MYMETA has been created (and we'll also |
23 | # need to delete the now-unneeded cpanfile so that cpanm doesn't choose it |
24 | # in preference to the MYMETA) |
25 | - rm -f cpanfile |
26 | - cpanm --notest --metacpan --skip-satisfied --installdeps . |
27 | |
6168fe6b |
28 | # enable various test options, including parallel testing |
29 | - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 |
30 | |
209210df |
31 | # we want these for our tests, but not for any others |
32 | - export AUTHOR_TESTING=1 |
33 | - export RELEASE_TESTING=1 |
34 | |
35 | - make manifest |
36 | |
37 | script: |
38 | - make disttest |
2aa2f26a |
39 | |
40 | # Test reverse deps (high-profile modules, taken from from Task::Catalyst): |
41 | # (note: currently skipping DBIC deps for speed) |
42 | - make install |
43 | |
44 | # pure author deps (of reverse deps): |
45 | - cpanm --notest --metacpan --skip-satisfied YAML::Syck |
46 | |
47 | # both author deps & reverse deps: |
48 | - cpanm --metacpan --skip-satisfied Catalyst::View::TT |
49 | - cpanm --metacpan --skip-satisfied Catalyst::Plugin::Authentication |
50 | |
51 | # pure reverse deps (call with --test-only): |
52 | - cpanm --test-only --metacpan Catalyst::Devel |
53 | - cpanm --test-only --metacpan Catalyst::Action::REST |
54 | - cpanm --test-only --metacpan Catalyst::Component::InstancePerContext |
55 | - cpanm --test-only --metacpan Catalyst::Plugin::Session |
56 | - cpanm --test-only --metacpan Catalyst::Plugin::Session::State::Cookie |
a108569d |
57 | - cpanm --test-only --verbose --metacpan Catalyst::Plugin::Static::Simple |
2aa2f26a |
58 | - cpanm --test-only --metacpan Catalyst::Plugin::ConfigLoader |
9fd69e17 |
59 | - cpanm --test-only --metacpan Catalyst::Plugin::ConfigLoader |
b87b8e45 |
60 | #- cpanm --test-only --verbose --metacpan Catalyst::Authentication::Credential::HTTP |
2aa2f26a |
61 | |
62 | # Still need to figure out why these fail in travis: |
63 | #- cpanm --test-only --metacpan -v Catalyst::View::Email |
64 | #- cpanm --test-only --metacpan -v Catalyst::Plugin::Session::Store::File |
65 | #- cpanm --test-only --metacpan -v Catalyst::Plugin::I18N |