remove extra travis install step that is no longer needed
[catagits/Catalyst-Runtime.git] / .travis.yml
1 language: perl
2 sudo: false
3 perl:
4    - "5.26"
5    - "5.24"
6    - "5.22"
7    - "5.20"
8    - "5.18"
9    - "5.16"
10    - "5.14"
11    - "5.12"
12    - "5.10"
13    - "5.8"
14
15 before_install:
16    - eval $(curl https://travis-perl.github.io/init)
17    - $HELPERS_ROOT/bin/cpan-config
18 install:
19    - cpanm --notest --metacpan --skip-satisfied --with-develop --installdeps .
20    - perl Makefile.PL
21
22    # enable various test options, including parallel testing
23    - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
24
25    # we want these for our tests, but not for any others
26    - export AUTHOR_TESTING=1
27    - export RELEASE_TESTING=1
28
29    - make manifest
30
31 script:
32    - make disttest
33
34    # Test reverse deps (high-profile modules, taken from from Task::Catalyst):
35    #  (note: currently skipping DBIC deps for speed)
36    - make install
37
38    # pure author deps (of reverse deps):
39    - cpanm --notest --metacpan --skip-satisfied YAML::Syck
40
41    # both author deps & reverse deps:
42    - cpanm --metacpan --skip-satisfied Catalyst::View::TT
43    - cpanm --metacpan --skip-satisfied Catalyst::Plugin::Authentication
44
45    # pure reverse deps (call with --test-only):
46    - cpanm --test-only --metacpan -v Catalyst::Devel
47    - cpanm --test-only --metacpan -v Catalyst::Action::REST
48    - cpanm --test-only --metacpan -v Catalyst::Component::InstancePerContext
49    - cpanm --test-only --metacpan -v Catalyst::Plugin::Session
50    - cpanm --test-only --metacpan -v Catalyst::Plugin::Session::State::Cookie
51    - cpanm --test-only --metacpan -v Catalyst::Plugin::Static::Simple
52    - cpanm --test-only --metacpan -v Catalyst::Plugin::ConfigLoader
53    - cpanm --test-only --metacpan -v Catalyst::Plugin::ConfigLoader
54    #- cpanm --test-only --verbose --metacpan Catalyst::Authentication::Credential::HTTP
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