X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fzzzzzzz_authors.t;h=17a57f73d876d0ffc9bdc47acfaeb9123494913e;hb=63af9ced21d59d5d92099a9b8853c2eece90569a;hp=ce9a217d00a951d04ea1736767147d3ff2463298;hpb=245e3f5d9725813b4c73a05b6162b0d93b335fd2;p=dbsrgits%2FDBIx-Class.git diff --git a/t/zzzzzzz_authors.t b/t/zzzzzzz_authors.t index ce9a217..17a57f7 100644 --- a/t/zzzzzzz_authors.t +++ b/t/zzzzzzz_authors.t @@ -2,14 +2,16 @@ use warnings; use strict; use Test::More 'no_plan'; +use lib 't/lib'; +use DBICTest::RunMode; my $authorcount = scalar do { open (my $fh, '<', 'AUTHORS') or die "Unable to open AUTHORS - can't happen: $!\n"; map { chomp; ( ( ! $_ or $_ =~ /^\s*\#/ ) ? () : $_ ) } <$fh>; } or die "Known AUTHORS file seems empty... can't happen..."; -# do not announce anything under travis - we are watching for STDERR silence +# do not announce anything under ci - we are watching for STDERR silence diag "\n\n$authorcount contributors made this library what it is today\n\n" - unless ($ENV{TRAVIS}||'') eq 'true'; + unless DBICTest::RunMode->is_ci; ok 1;