X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=e90e04be7323c66242f7ecb4a9b79a216c6e1a99;hb=topic%2Fmooification%2Btype-tiny;hp=172cb66b6c8b654332e9c7c17342191e410bad80;hpb=7975645bb827d021778c61d94eefc27ae330d00d;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 172cb66..e90e04b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -62,7 +62,7 @@ my $runtime_requires = { 'Data::Page' => '2.00', 'Devel::GlobalDestruction' => '0.09', 'Hash::Merge' => '0.12', - 'Moo' => '1.006001', + 'Moo' => '2.000', 'MRO::Compat' => '0.12', 'Module::Find' => '0.07', 'namespace::clean' => '0.24', @@ -113,9 +113,18 @@ if ($ENV{DBICTEST_SQLT_DEPLOY}) { } } -tests_recursive (qw| - t -|); +tests_recursive ( + 't', + ( ( + $Module::Install::AUTHOR + or + $ENV{DBICTEST_RUN_ALL_TESTS} + or + ( $ENV{TRAVIS}||'' ) eq 'true' + or + ( $ENV{AUTOMATED_TESTING} and ! $ENV{PERL5_CPANM_IS_RUNNING} and ! $ENV{RELEASE_TESTING} ) + ) ? 'xt' : () ), +); install_script (qw| script/dbicadmin