clean up travis config for distar
[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    - cpanm --notest --metacpan --skip-satisfied --with-develop --installdeps .
16    - perl Makefile.PL
17
18    # enable various test options, including parallel testing
19    - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
20
21    # we want these for our tests, but not for any others
22    - export AUTHOR_TESTING=1
23    - export RELEASE_TESTING=1
24
25    - make manifest
26
27 script:
28    - make disttest
29
30    # Test reverse deps (high-profile modules, taken from from Task::Catalyst):
31    #  (note: currently skipping DBIC deps for speed)
32    - make install
33
34    # pure author deps (of reverse deps):
35    - cpanm --notest --metacpan --skip-satisfied YAML::Syck
36
37    # both author deps & reverse deps:
38    - cpanm --metacpan --skip-satisfied Catalyst::View::TT
39    - cpanm --metacpan --skip-satisfied Catalyst::Plugin::Authentication
40
41    # pure reverse deps (call with --test-only):
42    - cpanm --test-only --metacpan Catalyst::Devel
43    - cpanm --test-only --metacpan Catalyst::Action::REST
44    - cpanm --test-only --metacpan Catalyst::Component::InstancePerContext
45    - cpanm --test-only --metacpan Catalyst::Plugin::Session
46    - cpanm --test-only --metacpan Catalyst::Plugin::Session::State::Cookie
47    - cpanm --test-only --verbose --metacpan Catalyst::Plugin::Static::Simple
48    - cpanm --test-only --metacpan Catalyst::Plugin::ConfigLoader
49    - cpanm --test-only --metacpan Catalyst::Plugin::ConfigLoader
50    - cpanm --test-only --metacpan Catalyst::Authentication::Credential::HTTP
51
52    # Still need to figure out why these fail in travis:
53    #- cpanm --test-only --metacpan -v Catalyst::View::Email
54    #- cpanm --test-only --metacpan -v Catalyst::Plugin::Session::Store::File
55    #- cpanm --test-only --metacpan -v Catalyst::Plugin::I18N