Commit | Line | Data |
209210df |
1 | language: perl |
4d7949d9 |
2 | sudo: false |
209210df |
3 | perl: |
2419db2c |
4 | - "5.24" |
49b1808f |
5 | - "5.22" |
94c34b14 |
6 | - "5.20" |
44cf0958 |
7 | - "5.18" |
209210df |
8 | - "5.16" |
9 | - "5.14" |
10 | - "5.12" |
11 | - "5.10" |
adde9a4e |
12 | - "5.8" |
209210df |
13 | |
14 | install: |
209210df |
15 | # for testing |
6168fe6b |
16 | - cpanm --notest --metacpan --skip-satisfied YAML |
209210df |
17 | |
18 | # M::I deps |
6168fe6b |
19 | - cpanm --notest --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority |
209210df |
20 | |
21 | # author deps -- wish there was a better way |
6168fe6b |
22 | - cpanm --notest --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize Test::WWW::Mechanize::Catalyst Catalyst::Plugin::Params::Nested |
d2995a76 |
23 | - cpanm --notest --metacpan --skip-satisfied Test::Without::Module Test::NoTabs Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod Type::Tiny |
6168fe6b |
24 | - cpanm --notest --metacpan --skip-satisfied --installdeps . |
44cf0958 |
25 | - echo y | perl Makefile.PL |
209210df |
26 | |
8098d754 |
27 | # installing Catalyst::Devel above causes the latest release of |
28 | # Catalyst::Runtime to be installed, but the version we're testing might |
29 | # have additional deps that aren't yet satisfied. so we should try |
30 | # installing deps again now that the MYMETA has been created (and we'll also |
31 | # need to delete the now-unneeded cpanfile so that cpanm doesn't choose it |
32 | # in preference to the MYMETA) |
33 | - rm -f cpanfile |
34 | - cpanm --notest --metacpan --skip-satisfied --installdeps . |
35 | |
6168fe6b |
36 | # enable various test options, including parallel testing |
37 | - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 |
38 | |
209210df |
39 | # we want these for our tests, but not for any others |
40 | - export AUTHOR_TESTING=1 |
41 | - export RELEASE_TESTING=1 |
42 | |
43 | - make manifest |
44 | |
45 | script: |
46 | - make disttest |
2aa2f26a |
47 | |
48 | # Test reverse deps (high-profile modules, taken from from Task::Catalyst): |
49 | # (note: currently skipping DBIC deps for speed) |
50 | - make install |
51 | |
52 | # pure author deps (of reverse deps): |
53 | - cpanm --notest --metacpan --skip-satisfied YAML::Syck |
54 | |
55 | # both author deps & reverse deps: |
56 | - cpanm --metacpan --skip-satisfied Catalyst::View::TT |
57 | - cpanm --metacpan --skip-satisfied Catalyst::Plugin::Authentication |
58 | |
59 | # pure reverse deps (call with --test-only): |
60 | - cpanm --test-only --metacpan Catalyst::Devel |
61 | - cpanm --test-only --metacpan Catalyst::Action::REST |
62 | - cpanm --test-only --metacpan Catalyst::Component::InstancePerContext |
63 | - cpanm --test-only --metacpan Catalyst::Plugin::Session |
64 | - cpanm --test-only --metacpan Catalyst::Plugin::Session::State::Cookie |
a108569d |
65 | - cpanm --test-only --verbose --metacpan Catalyst::Plugin::Static::Simple |
2aa2f26a |
66 | - cpanm --test-only --metacpan Catalyst::Plugin::ConfigLoader |
9fd69e17 |
67 | - cpanm --test-only --metacpan Catalyst::Plugin::ConfigLoader |
68 | - cpanm --test-only --metacpan Catalyst::Authentication::Credential::HTTP |
2aa2f26a |
69 | |
70 | # Still need to figure out why these fail in travis: |
71 | #- cpanm --test-only --metacpan -v Catalyst::View::Email |
72 | #- cpanm --test-only --metacpan -v Catalyst::Plugin::Session::Store::File |
73 | #- cpanm --test-only --metacpan -v Catalyst::Plugin::I18N |