X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=.travis.yml;h=c920b6c831268979da48d246100727b600c6a53c;hb=c2eac008b6f566090128f60259a6cc8fee720298;hp=9a04424e55679a1517a411bd8066d9b17571d0a6;hpb=a108569dfb60872eb17edbf5fae4455591b920a3;p=catagits%2FCatalyst-Runtime.git diff --git a/.travis.yml b/.travis.yml index 9a04424..c920b6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,17 +12,17 @@ perl: - "5.8" install: - # for testing - - cpanm --notest --metacpan --skip-satisfied YAML + - cpanm --notest --metacpan --skip-satisfied --with-develop --installdeps . + - perl Makefile.PL - # M::I deps - - cpanm --notest --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority - - # author deps -- wish there was a better way - - cpanm --notest --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize Test::WWW::Mechanize::Catalyst Catalyst::Plugin::Params::Nested - - cpanm --notest --metacpan --skip-satisfied Test::Without::Module Test::NoTabs Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod Type::Tiny + # installing Catalyst::Devel above causes the latest release of + # Catalyst::Runtime to be installed, but the version we're testing might + # have additional deps that aren't yet satisfied. so we should try + # installing deps again now that the MYMETA has been created (and we'll also + # need to delete the now-unneeded cpanfile so that cpanm doesn't choose it + # in preference to the MYMETA) + - rm -f cpanfile - cpanm --notest --metacpan --skip-satisfied --installdeps . - - echo y | perl Makefile.PL # enable various test options, including parallel testing - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1