diff options
author | Olaf Alders <olaf@wundersolutions.com> | 2019-01-10 14:00:56 -0500 |
---|---|---|
committer | Olaf Alders <olaf@wundersolutions.com> | 2019-01-10 14:00:56 -0500 |
commit | eea5168d003181cd930b7cc541297fd431c254de (patch) | |
tree | eec7fd2e58fedb282afc38813b782099c495503b | |
parent | 43a7171ea9e4405d826de58a5ddb098ca438ecd4 (diff) | |
download | uri-eea5168d003181cd930b7cc541297fd431c254de.tar.gz |
Port over Changes checks for Travis from libwww-perl config
-rw-r--r-- | dist.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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] |