Test on all recent perls on Travis
[catagits/Catalyst-Plugin-Static-Simple.git] / .travis.yml
1 language: perl
2 perl:
3    - "5.26"
4    - "5.24"
5    - "5.22"
6    - "5.20"
7    - "5.18"
8    - "5.16"
9    - "5.14"
10    - "5.12"
11    - "5.10"
12    - "5.8"
13
14 install:
15   # Based on Catalyst travis cfg:
16
17    # M::I deps
18    - cpanm --notest --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority
19
20    # author deps -- wish there was a better way
21    - cpanm --notest --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize Test::WWW::Mechanize::Catalyst Catalyst::Plugin::Params::Nested
22    - cpanm --notest --metacpan --skip-satisfied Test::Without::Module Test::NoTabs Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod
23    - cpanm --notest --metacpan --skip-satisfied --installdeps .
24    - echo y | perl Makefile.PL
25
26    # enable various test options, including parallel testing
27    - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
28
29    # we want these for our tests, but not for any others
30    - export AUTHOR_TESTING=1
31    - export RELEASE_TESTING=1
32
33    - make manifest
34
35 script:
36    - make disttest