(travis) Only consider the runmode a 'Smoker' when we CI ourselves
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / RunMode.pm
index ab47d0c..f1e5544 100644 (file)
@@ -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} )
   ;