X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=044b0694b1a65e8916b65533a9549c2df73a908d;hb=maint%2F0.0828xx;hp=f6d3815fe2606af1afdfa630a41915a56057f88b;hpb=313510884be3d00975ae50f42af4f585eb29ae80;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index f6d3815..044b069 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -47,7 +47,7 @@ my $runtime_requires = { 'Sub::Name' => '0.04', # pure-perl (FatPack-able) libs - 'Class::Accessor::Grouped' => '0.10010', + 'Class::Accessor::Grouped' => '0.10012', 'Class::C3::Componentised' => '1.0009', 'Class::Inspector' => '1.24', 'Config::Any' => '0.20', @@ -56,13 +56,13 @@ my $runtime_requires = { 'Data::Page' => '2.00', 'Devel::GlobalDestruction' => '0.09', 'Hash::Merge' => '0.12', - 'Moo' => '1.004005', + 'Moo' => '2.000', 'MRO::Compat' => '0.12', 'Module::Find' => '0.07', 'namespace::clean' => '0.24', 'Path::Class' => '0.18', 'Scope::Guard' => '0.03', - 'SQL::Abstract' => '1.79', + 'SQL::Abstract' => '1.81', 'Try::Tiny' => '0.07', # Technically this is not a core dependency - it is only required @@ -115,9 +115,20 @@ if ($ENV{DBICTEST_SQLT_DEPLOY}) { } } -tests_recursive (qw| - t -|); +tests_recursive ('t'); +tests_recursive ('xt') if ( + $Module::Install::AUTHOR + or + $ENV{DBICTEST_RUN_ALL_TESTS} + or + ( + ( $ENV{TRAVIS}||'' ) eq 'true' + and + ($ENV{TRAVIS_REPO_SLUG}||'') =~ m|\w+/dbix-class$| + ) + or + ( $ENV{AUTOMATED_TESTING} and ! $ENV{PERL5_CPANM_IS_RUNNING} and ! $ENV{RELEASE_TESTING} ) +); install_script (qw| script/dbicadmin