(travis) Correctly detect CI on github forks
Peter Rabbitson [Tue, 19 May 2015 12:30:03 +0000 (14:30 +0200)]
t/lib/DBICTest/RunMode.pm

index 39661a1..ee16bc1 100644 (file)
@@ -208,7 +208,7 @@ sub is_ci {
   return (
     ($ENV{TRAVIS}||'') eq 'true'
       and
-    ($ENV{TRAVIS_REPO_SLUG}||'') eq 'dbsrgits/dbix-class'
+    ($ENV{TRAVIS_REPO_SLUG}||'') =~ m|\w+/dbix-class$|
   )
 }