From: Peter Rabbitson Date: Mon, 2 Mar 2015 06:02:24 +0000 (+0100) Subject: (travis) Only consider the runmode a 'Smoker' when we CI ourselves X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3591019fc69ab8f68864e55fdd246357fbafc6cb;p=dbsrgits%2FDBIx-Class-Historic.git (travis) Only consider the runmode a 'Smoker' when we CI ourselves --- diff --git a/t/lib/DBICTest/RunMode.pm b/t/lib/DBICTest/RunMode.pm index ab47d0c..f1e5544 100644 --- a/t/lib/DBICTest/RunMode.pm +++ b/t/lib/DBICTest/RunMode.pm @@ -198,7 +198,7 @@ sub is_author { sub is_smoker { return - ( ($ENV{TRAVIS}||'') eq 'true' ) + ( ($ENV{TRAVIS}||'') eq 'true' and ($ENV{TRAVIS_REPO_SLUG}||'') eq 'dbsrgits/dbix-class' ) || ( $ENV{AUTOMATED_TESTING} && ! $ENV{PERL5_CPANM_IS_RUNNING} && ! $ENV{RELEASE_TESTING} ) ;