removed badges for now until I can make them work
[catagits/Catalyst-Runtime.git] / .travis.yml
1 language: perl
2 sudo: false
3 perl:
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    # for testing
16    - cpanm --notest --metacpan --skip-satisfied YAML
17
18    # M::I deps
19    - cpanm --notest --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority
20
21    # author deps -- wish there was a better way
22    - cpanm --notest --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize Test::WWW::Mechanize::Catalyst Catalyst::Plugin::Params::Nested
23    - cpanm --notest --metacpan --skip-satisfied Test::Without::Module Test::NoTabs Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod Type::Tiny
24    - cpanm --notest --metacpan --skip-satisfied --installdeps .
25    - echo y | perl Makefile.PL
26
27    # enable various test options, including parallel testing
28    - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
29
30    # we want these for our tests, but not for any others
31    - export AUTHOR_TESTING=1
32    - export RELEASE_TESTING=1
33
34    - make manifest
35
36 script:
37    - make disttest
38
39    # Test reverse deps (high-profile modules, taken from from Task::Catalyst):
40    #  (note: currently skipping DBIC deps for speed)
41    - make install
42
43    # pure author deps (of reverse deps):
44    - cpanm --notest --metacpan --skip-satisfied YAML::Syck
45
46    # both author deps & reverse deps:
47    - cpanm --metacpan --skip-satisfied Catalyst::View::TT
48    - cpanm --metacpan --skip-satisfied Catalyst::Plugin::Authentication
49
50    # pure reverse deps (call with --test-only):
51    - cpanm --test-only --metacpan Catalyst::Devel
52    - cpanm --test-only --metacpan Catalyst::Action::REST
53    - cpanm --test-only --metacpan Catalyst::Component::InstancePerContext
54    - cpanm --test-only --metacpan Catalyst::Plugin::Session
55    - cpanm --test-only --metacpan Catalyst::Plugin::Session::State::Cookie
56    - cpanm --test-only --verbose --metacpan Catalyst::Plugin::Static::Simple
57    - cpanm --test-only --metacpan Catalyst::Plugin::ConfigLoader
58    - cpanm --test-only --metacpan Catalyst::Plugin::ConfigLoader
59    - cpanm --test-only --metacpan Catalyst::Authentication::Credential::HTTP
60
61    # Still need to figure out why these fail in travis:
62    #- cpanm --test-only --metacpan -v Catalyst::View::Email
63    #- cpanm --test-only --metacpan -v Catalyst::Plugin::Session::Store::File
64    #- cpanm --test-only --metacpan -v Catalyst::Plugin::I18N