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