4 - "blead" # builds perl from git
5 - "dev" # latest point release
23 - eval $(curl https://travis-perl.github.io/init) --perl
24 - $HELPERS_ROOT/bin/cpan-config
28 - cpanm -q --showdeps --with-develop . | grep -v "^perl[~@]" | AUTHOR_TESTING=0 cpanm --notest --metacpan --skip-satisfied
30 - test_run='make test'
31 - AUTHOR_TESTING=0 cpanm --notest --metacpan --skip-satisfied Test2::Harness && test_run='yath test t xt' || true
33 # enable various test options, including parallel testing
34 - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
36 # we want these for our tests, but not for any others
37 - export AUTHOR_TESTING=1
38 - export RELEASE_TESTING=1
39 - export PERL_AUTOINSTALL=--skip
44 # Test reverse deps (high-profile modules, taken from from Task::Catalyst):
45 # (note: currently skipping DBIC deps for speed)
48 - export AUTHOR_TESTING=0
49 - export RELEASE_TESTING=0
51 # pure author deps (of reverse deps):
52 - cpanm --notest --metacpan --skip-satisfied YAML::Syck
53 - cpanm --notest --metacpan Carp::Assert::More@1.16
54 - cpanm --notest --metacpan Test::WWW::Mechanize@1.50
56 # both author deps & reverse deps:
57 - cpanm --metacpan --skip-satisfied Catalyst::View::TT || ( cat ~/.cpanm/build.log; false )
58 - cpanm --metacpan --skip-satisfied Catalyst::Plugin::Authentication || ( cat ~/.cpanm/build.log; false )
60 # pure reverse deps (call with --test-only):
61 - cpanm --test-only --metacpan -v Catalyst::Devel
62 - cpanm --test-only --metacpan -v Catalyst::Action::REST
63 - cpanm --test-only --metacpan -v Catalyst::Component::InstancePerContext
64 - cpanm --test-only --metacpan -v Catalyst::Plugin::Session
65 - cpanm --test-only --metacpan -v Catalyst::Plugin::Session::State::Cookie
66 - cpanm --test-only --metacpan -v Catalyst::Plugin::Static::Simple
67 - cpanm --test-only --metacpan -v Catalyst::Plugin::ConfigLoader
68 #- cpanm --test-only --verbose --metacpan Catalyst::Authentication::Credential::HTTP
70 # Still need to figure out why these fail in travis:
71 #- cpanm --test-only --metacpan -v Catalyst::View::Email
72 #- cpanm --test-only --metacpan -v Catalyst::Plugin::Session::Store::File
73 #- cpanm --test-only --metacpan -v Catalyst::Plugin::I18N