From 6ccd631004c7581e85971e17caba9a62899de3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Joaqu=C3=ADn=20Atria?= Date: Wed, 11 Oct 2017 22:12:38 +0100 Subject: [PATCH 1/3] Add Pod::Weaver::Section::Support as an author dependency --- perl/modules/XML-SemanticDiff/dist.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/perl/modules/XML-SemanticDiff/dist.ini b/perl/modules/XML-SemanticDiff/dist.ini index 7f96b39..4a9b066 100644 --- a/perl/modules/XML-SemanticDiff/dist.ini +++ b/perl/modules/XML-SemanticDiff/dist.ini @@ -5,6 +5,8 @@ copyright_holder = Kim Hampton copyright_year = 2001 version = 1.0006 +; authordep Pod::Weaver::Section::Support + [@Filter] -bundle = @SHLOMIF -remove = License From 61c2c0f65552dc3843dfaaf27e60ab955a193fd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Joaqu=C3=ADn=20Atria?= Date: Wed, 11 Oct 2017 21:22:41 +0100 Subject: [PATCH 2/3] Add Travis CI setup --- .travis.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b31a22f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +--- +sudo: false +language: perl +perl: + - blead + - dev + - '5.26' + - '5.24' + - '5.22' + - '5.20' + - '5.18' + - '5.16' + - '5.14' + - '5.12' +matrix: + allow_failures: + - perl: blead +env: + global: + - RELEASE_TESTING=1 + - AUTHOR_TESTING=1 +before_install: + - cd perl/modules/XML-SemanticDiff + - eval $(curl https://travis-perl.github.io/init) --auto From e00c20407a61cc5c636aaae36210b2da3c26e8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Joaqu=C3=ADn=20Atria?= Date: Wed, 11 Oct 2017 22:45:58 +0100 Subject: [PATCH 3/3] Add AppVeyor config This configuration is heavily inspired (read "blatantly copied from") that used by Alien::Build [1], which has been written by Graham Ollis and Lance Wicks. The current configuration is still suitable for improvement by more seasoned developers, however. In particular, Strawberry Perl versions 5.12.3 to 5.16.3 all fail because they are unable to find the perl executable they've just installed, which seems to be a particularly stupid kind of error. [1]: https://github.com/Perl5-Alien/Alien-Build/blob/master/.appveyor.yml --- .appveyor.yml | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..532f896 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,63 @@ +environment: + install_berry_perl: "cmd /C git clone https://github.com/stevieb9/berrybrew && cd berrybrew/bin && berrybrew.exe install %version% && berrybrew.exe switch %version%" + install_active_perl: "cmd /C choco install activeperl --version %version%" + + matrix: + - install_perl: "%install_berry_perl%" + version: "5.26.0_64" + - install_perl: "%install_berry_perl%" + version: "5.24.2_64" + - install_perl: "%install_berry_perl%" + version: "5.22.3_64" + - install_perl: "%install_berry_perl%" + version: "5.20.3_64" + - install_perl: "%install_berry_perl%" + version: "5.18.4_64" + - install_perl: "%install_berry_perl%" + version: "5.16.3_64" + - install_perl: "%install_berry_perl%" + version: "5.14.4_64" + - install_perl: "%install_berry_perl%" + version: "5.12.3_32" + - install_perl: "%install_active_perl%" + version: "5.24.1.2402" + +install: + # Install perl + - cmd: "%install_perl%" + # Make sure we are in project root + - cmd: "cd %APPVEYOR_BUILD_FOLDER%" + # Set path for berrybrew + - SET PATH=C:\berrybrew\%version%\c\bin;C:\berrybrew\%version%\perl\site\bin;C:\berrybrew\%version%\perl\bin;%PATH% + # ActivePerl does not include cpanminus + - cpan App::cpanminus + - cpanm -nq PerlIO::utf8_strict + - cpanm -nq Mixin::Linewise::Readers + - cpanm -nq Params::Validate + - cpanm -nq Getopt::Long::Descriptive + - cpanm -nq Log::Dispatch::Output Software::LicenseUtils Config::MVP::Reader::INI Config::MVP::Assembler Text::Template Data::Section App::Cmd::Tester Log::Dispatchouli MooseX::Types::Perl String::Formatter MooseX::SetOnce CPAN::Uploader Config::MVP::Section Perl::PrereqScanner App::Cmd::Setup Config::MVP::Reader Software::License Config::MVP::Reader::Findable::ByExtension Config::MVP::Reader::Finder Pod::Eventual Mixin::Linewise::Readers Config::MVP::Assembler::WithBundles App::Cmd::Command::version Config::INI::Reader App::Cmd::Tester::CaptureExternal Term::Encoding + - cpanm -nq Module::Build + - cpanm -nq Dist::Zilla + # Module files for this distribution are not in root + - cmd: "cd perl/modules/XML-SemanticDiff" + - dzil authordeps | cpanm -nq + - dzil listdeps | cpanm -nq + - cpanm -nq Test::EOL Test::NoTabs Test::Pod Test::Pod::Coverage Pod::Coverage::TrustPod + +build: off + +test_script: + - dzil test + +shallow_clone: true + +matrix: + allow_failures: + - install_perl: "%install_berry_perl%" + version: "5.16.3_64" + - install_perl: "%install_berry_perl%" + version: "5.14.4_64" + - install_perl: "%install_berry_perl%" + version: "5.12.3_32" + - install_perl: "%install_active_perl%" + version: "5.24.1.2402"