Commit | Line | Data |
209210df |
1 | language: perl |
4d7949d9 |
2 | sudo: false |
209210df |
3 | perl: |
94c34b14 |
4 | - "5.20" |
44cf0958 |
5 | - "5.18" |
209210df |
6 | - "5.16" |
7 | - "5.14" |
8 | - "5.12" |
9 | - "5.10" |
adde9a4e |
10 | - "5.8" |
209210df |
11 | |
12 | install: |
209210df |
13 | # for testing |
6168fe6b |
14 | - cpanm --notest --metacpan --skip-satisfied YAML |
209210df |
15 | |
16 | # M::I deps |
6168fe6b |
17 | - cpanm --notest --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority |
209210df |
18 | |
19 | # author deps -- wish there was a better way |
6168fe6b |
20 | - cpanm --notest --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize Test::WWW::Mechanize::Catalyst Catalyst::Plugin::Params::Nested |
21 | - cpanm --notest --metacpan --skip-satisfied Test::Without::Module Test::NoTabs Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod |
22 | - cpanm --notest --metacpan --skip-satisfied --installdeps . |
44cf0958 |
23 | - echo y | perl Makefile.PL |
209210df |
24 | |
6168fe6b |
25 | # enable various test options, including parallel testing |
26 | - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 |
27 | |
209210df |
28 | # we want these for our tests, but not for any others |
29 | - export AUTHOR_TESTING=1 |
30 | - export RELEASE_TESTING=1 |
31 | |
32 | - make manifest |
33 | |
34 | script: |
35 | - make disttest |
2aa2f26a |
36 | |
37 | # Test reverse deps (high-profile modules, taken from from Task::Catalyst): |
38 | # (note: currently skipping DBIC deps for speed) |
39 | - make install |
40 | |
41 | # pure author deps (of reverse deps): |
42 | - cpanm --notest --metacpan --skip-satisfied YAML::Syck |
43 | |
44 | # both author deps & reverse deps: |
45 | - cpanm --metacpan --skip-satisfied Catalyst::View::TT |
46 | - cpanm --metacpan --skip-satisfied Catalyst::Plugin::Authentication |
47 | |
48 | # pure reverse deps (call with --test-only): |
49 | - cpanm --test-only --metacpan Catalyst::Devel |
50 | - cpanm --test-only --metacpan Catalyst::Action::REST |
51 | - cpanm --test-only --metacpan Catalyst::Component::InstancePerContext |
52 | - cpanm --test-only --metacpan Catalyst::Plugin::Session |
53 | - cpanm --test-only --metacpan Catalyst::Plugin::Session::State::Cookie |
54 | - cpanm --test-only --metacpan Catalyst::Plugin::Static::Simple |
55 | - cpanm --test-only --metacpan Catalyst::Plugin::ConfigLoader |
56 | |
57 | # Still need to figure out why these fail in travis: |
58 | #- cpanm --test-only --metacpan -v Catalyst::View::Email |
59 | #- cpanm --test-only --metacpan -v Catalyst::Plugin::Session::Store::File |
60 | #- cpanm --test-only --metacpan -v Catalyst::Plugin::I18N |