(travis) Make a separate is_ci runmode, separated from is_smoker
[dbsrgits/DBIx-Class.git] / t / zzzzzzz_authors.t
CommitLineData
245e3f5d 1use warnings;
2use strict;
3
4use Test::More 'no_plan';
81b29c8d 5use lib 't/lib';
6use DBICTest::RunMode;
245e3f5d 7
8my $authorcount = scalar do {
9 open (my $fh, '<', 'AUTHORS') or die "Unable to open AUTHORS - can't happen: $!\n";
10 map { chomp; ( ( ! $_ or $_ =~ /^\s*\#/ ) ? () : $_ ) } <$fh>;
11} or die "Known AUTHORS file seems empty... can't happen...";
12
81b29c8d 13# do not announce anything under ci - we are watching for STDERR silence
245e3f5d 14diag "\n\n$authorcount contributors made this library what it is today\n\n"
81b29c8d 15 unless DBICTest::RunMode->is_ci;
245e3f5d 16
17ok 1;