merged PR
[catagits/Catalyst-Runtime.git] / .travis.yml
1 language: perl
2 sudo: false
3 perl:
4    - "5.20"
5    - "5.18"
6    - "5.16"
7    - "5.14"
8    - "5.12"
9    - "5.10"
10    - "5.8"
11
12 install:
13    # for testing
14    - cpanm --notest --metacpan --skip-satisfied YAML
15
16    # M::I deps
17    - cpanm --notest --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority
18
19    # author deps -- wish there was a better way
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 .
23    - echo y | perl Makefile.PL
24
25    # enable various test options, including parallel testing
26    - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
27
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
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