Skip to content

Commit eea5168

Browse files
committed
Port over Changes checks for Travis from libwww-perl config
1 parent 43a7171 commit eea5168

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dist.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ xt_mode = 1
8181
; [Test::EOL] ; TODO
8282
[MetaTests]
8383
[Test::ChangesHasContent]
84+
[Substitute]
85+
file = xt/release/changes_has_content.t
86+
code = s{^(note 'Checking Changes')}{if \(\(\$ENV\{TRAVIS_PULL_REQUEST\} \|\| '') eq 'false'\) \{\n chomp\(my \$branch_name = \(\$ENV\{TRAVIS_BRANCH\} || \`git rev-parse --abbrev-ref HEAD\`\)\);\n \$TODO = 'Changes need not have content for this release yet if this is only the master branch'\n if \(\$branch_name \|\| ''\) eq 'master';\n\}\n\n$1}
8487
[Test::MinimumVersion]
8588
[PodSyntaxTests]
8689

0 commit comments

Comments
 (0)