Commit | Line | Data |
209210df |
1 | language: perl |
2 | perl: |
44cf0958 |
3 | - "5.18" |
209210df |
4 | - "5.16" |
5 | - "5.14" |
6 | - "5.12" |
7 | - "5.10" |
8 | |
9 | install: |
10 | # git bits sometimes needed... |
11 | - git config user.name 'Travis-CI' |
12 | - git config user.email 'travis@nowhere.dne' |
13 | |
14 | # ensure we have the latest cpanm |
15 | - echo y | perlbrew install-cpanm |
16 | |
17 | # see if we can't speed things up a bit |
18 | - rm -rf ~/.cpanm |
19 | - mkdir ~/.cpanm |
20 | - sudo mount tmpfs -t tmpfs ~/.cpanm |
21 | |
22 | # these fail on parallel test runs |
23 | # Net::Server: https://rt.cpan.org/Ticket/Display.html?id=84126 |
24 | - cpanm --metacpan --skip-satisfied Net::Server Template File::Remove Filesys::Notify::Simple Config::Any CGI::Simple Plack |
25 | |
26 | # for testing |
27 | - cpanm --metacpan --skip-satisfied YAML |
28 | |
29 | # enable various test options, including parallel testing |
30 | - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 |
31 | |
32 | # M::I deps |
33 | - cpanm --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority |
34 | |
35 | # author deps -- wish there was a better way |
44cf0958 |
36 | - cpanm --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize Test::WWW::Mechanize::Catalyst Catalyst::Plugin::Params::Nested |
209210df |
37 | - cpanm --metacpan --skip-satisfied Test::Without::Module Test::NoTabs Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod |
38 | - cpanm --metacpan --skip-satisfied --installdeps . |
44cf0958 |
39 | - echo y | perl Makefile.PL |
209210df |
40 | |
41 | # we want these for our tests, but not for any others |
42 | - export AUTHOR_TESTING=1 |
43 | - export RELEASE_TESTING=1 |
44 | |
45 | - make manifest |
46 | |
47 | script: |
48 | - make disttest |