changelog
[catagits/Catalyst-Runtime.git] / .travis.yml
1 language: perl
2 sudo: false
3 perl:
4    - "blead"       # builds perl from git
5    - "dev"         # latest point release
6    - "5.28"
7    - "5.26"
8    - "5.24"
9    - "5.22"
10    - "5.20"
11    - "5.18"
12    - "5.16"
13    - "5.14"
14    - "5.12"
15    - "5.10"
16    - "5.8"
17 matrix:
18   allow_failures:
19     - perl: blead
20     - perl: dev
21
22 before_install:
23    - eval $(curl https://travis-perl.github.io/init)
24    - $HELPERS_ROOT/bin/cpan-config
25 install:
26    - cpanm --notest --metacpan --skip-satisfied --with-develop --installdeps .
27    - perl Makefile.PL
28
29    # enable various test options, including parallel testing
30    - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
31
32    # we want these for our tests, but not for any others
33    - export AUTHOR_TESTING=1
34    - export RELEASE_TESTING=1
35    - export PERL_AUTOINSTALL=--skip
36
37    - make manifest
38
39 script:
40    - make disttest
41
42    # Test reverse deps (high-profile modules, taken from from Task::Catalyst):
43    #  (note: currently skipping DBIC deps for speed)
44    - make install
45
46    - export AUTHOR_TESTING=0
47    - export RELEASE_TESTING=0
48
49    # pure author deps (of reverse deps):
50    - cpanm --notest --metacpan --skip-satisfied YAML::Syck
51
52    # both author deps & reverse deps:
53    - cpanm --metacpan --skip-satisfied Catalyst::View::TT
54    - cpanm --metacpan --skip-satisfied Catalyst::Plugin::Authentication
55
56    # pure reverse deps (call with --test-only):
57    - cpanm --test-only --metacpan -v Catalyst::Devel
58    - cpanm --test-only --metacpan -v Catalyst::Action::REST
59    - cpanm --test-only --metacpan -v Catalyst::Component::InstancePerContext
60    - cpanm --test-only --metacpan -v Catalyst::Plugin::Session
61    - cpanm --test-only --metacpan -v Catalyst::Plugin::Session::State::Cookie
62    - cpanm --test-only --metacpan -v Catalyst::Plugin::Static::Simple
63    - cpanm --test-only --metacpan -v Catalyst::Plugin::ConfigLoader
64    #- cpanm --test-only --verbose --metacpan Catalyst::Authentication::Credential::HTTP
65
66    # Still need to figure out why these fail in travis:
67    #- cpanm --test-only --metacpan -v Catalyst::View::Email
68    #- cpanm --test-only --metacpan -v Catalyst::Plugin::Session::Store::File
69    #- cpanm --test-only --metacpan -v Catalyst::Plugin::I18N