summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Alders <olaf@wundersolutions.com>2019-01-10 14:00:56 -0500
committerOlaf Alders <olaf@wundersolutions.com>2019-01-10 14:00:56 -0500
commiteea5168d003181cd930b7cc541297fd431c254de (patch)
treeeec7fd2e58fedb282afc38813b782099c495503b
parent43a7171ea9e4405d826de58a5ddb098ca438ecd4 (diff)
downloaduri-eea5168d003181cd930b7cc541297fd431c254de.tar.gz
Port over Changes checks for Travis from libwww-perl config
-rw-r--r--dist.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/dist.ini b/dist.ini
index b6635d7..ca31fed 100644
--- a/dist.ini
+++ b/dist.ini
@@ -81,6 +81,9 @@ xt_mode = 1
; [Test::EOL] ; TODO
[MetaTests]
[Test::ChangesHasContent]
+[Substitute]
+file = xt/release/changes_has_content.t
+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}
[Test::MinimumVersion]
[PodSyntaxTests]