X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FRunMode.pm;h=53eb073cd8f5e46be884ed47880557e2879c4bd9;hb=9e7525a2cc9d7459ee89a6d2c85913a8b8c4eff9;hp=9e99009558e259e380cff1e7562005de5e54d834;hpb=d70070c9e7e2a2ec3306f6b95f770c0faff61cbb;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/RunMode.pm b/t/lib/DBICTest/RunMode.pm index 9e99009..53eb073 100644 --- a/t/lib/DBICTest/RunMode.pm +++ b/t/lib/DBICTest/RunMode.pm @@ -150,9 +150,11 @@ sub is_author { } sub is_smoker { - return $ENV{TRAVIS} or ( - $ENV{AUTOMATED_TESTING} && ! $ENV{PERL5_CPANM_IS_RUNNING} && ! $ENV{RELEASE_TESTING} - ) + return + ( ($ENV{TRAVIS}||'') eq 'true' ) + || + ( $ENV{AUTOMATED_TESTING} && ! $ENV{PERL5_CPANM_IS_RUNNING} && ! $ENV{RELEASE_TESTING} ) + ; } sub is_plain {