Debian Codegraph @

xt/author/changes_has_content.t

raw
1 use strict;
2 use warnings;
3
4 use Test::More;
5 plan skip_all => 'xt/release/changes_has_content.t is missing' if not -e 'xt/release/changes_has_content.t';
6
7 # skip for master branch, only for travis
8 if (($ENV{TRAVIS_PULL_REQUEST} || '') eq 'false') {
9 chomp(my $branch_name = ($ENV{TRAVIS_BRANCH} || `git rev-parse --abbrev-ref HEAD`));
10 $TODO = 'Changes need not have content for this release yet if this is only the '.$1.' branch'
11 if ($branch_name || '') =~ /^(master|devel)$/;
12 }
13
14 do './xt/release/changes_has_content.t';
15 die $@ if $@;