From: Peter Rabbitson Date: Tue, 19 May 2015 12:30:03 +0000 (+0200) Subject: (travis) Correctly detect CI on github forks X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1ab8de44f891e42f878fac3a55dfd0660fdfd4bb;p=dbsrgits%2FDBIx-Class.git (travis) Correctly detect CI on github forks --- diff --git a/t/lib/DBICTest/RunMode.pm b/t/lib/DBICTest/RunMode.pm index 39661a1..ee16bc1 100644 --- a/t/lib/DBICTest/RunMode.pm +++ b/t/lib/DBICTest/RunMode.pm @@ -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$| ) }