sudo: false
language: perl
perl:
- - 'blead'
+ - '5.24'
+ - '5.22'
- '5.20'
- '5.18'
- '5.16'
- '5.14'
- - '5.12'
- - '5.10'
- - '5.8'
matrix:
- allow_failures:
- - perl: 'blead'
- - perl: '5.8'
fast_finish: true
branches:
- only: /^build\/.*/
+ only: /^(dist|build\/.*)$/
before_install:
- rm .travis.yml
- export AUTHOR_TESTING=0
Revision history for Dist-Zilla-PluginBundle-Author-CCM.
+0.004 2016-11-27 18:28:43-07:00 MST7MDT
+
+ * This bundle now requires at least perl 5.14.0
+ * Add Test::MinimumVersion as a release test
+
0.003 2016-11-26 00:09:53-07:00 MST7MDT
* Set default authority to cpan:CCM
xt/author/portability.t
xt/release/cpan-changes.t
xt/release/distmeta.t
+xt/release/minimum-version.t
"Test::CPAN::Meta" : "0",
"Test::CleanNamespaces" : "0.15",
"Test::EOL" : "0",
+ "Test::MinimumVersion" : "0",
"Test::More" : "0.96",
"Test::NoTabs" : "0",
"Test::Pod" : "1.41",
"Dist::Zilla::Plugin::Test::CleanNamespaces" : "0",
"Dist::Zilla::Plugin::Test::Compile" : "0",
"Dist::Zilla::Plugin::Test::EOL" : "0",
+ "Dist::Zilla::Plugin::Test::MinimumVersion" : "0",
"Dist::Zilla::Plugin::Test::NoTabs" : "0",
"Dist::Zilla::Plugin::Test::Perl::Critic" : "0",
"Dist::Zilla::Plugin::Test::Pod::No404s" : "0",
"Pod::Weaver::Section::Version" : "0",
"Test::CPAN::Meta" : "0",
"namespace::autoclean" : "0",
+ "perl" : "5.014",
"strict" : "0",
"warnings" : "0"
}
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Test::More" : "0",
- "blib" : "1.01",
- "perl" : "5.006"
+ "blib" : "1.01"
}
}
},
"provides" : {
"Dist::Zilla::PluginBundle::Author::CCM" : {
"file" : "lib/Dist/Zilla/PluginBundle/Author/CCM.pm",
- "version" : "0.003"
+ "version" : "0.004"
},
"Pod::Weaver::PluginBundle::Author::CCM" : {
"file" : "lib/Pod/Weaver/PluginBundle/Author/CCM.pm",
- "version" : "0.003"
+ "version" : "0.004"
}
},
"release_status" : "stable",
"web" : "https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM"
}
},
- "version" : "0.003",
+ "version" : "0.004",
"x_authority" : "cpan:CCM",
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0224"
}
IPC::Open3: '0'
Test::More: '0'
blib: '1.01'
- perl: '5.006'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
provides:
Dist::Zilla::PluginBundle::Author::CCM:
file: lib/Dist/Zilla/PluginBundle/Author/CCM.pm
- version: '0.003'
+ version: '0.004'
Pod::Weaver::PluginBundle::Author::CCM:
file: lib/Pod/Weaver/PluginBundle/Author/CCM.pm
- version: '0.003'
+ version: '0.004'
requires:
Dist::Zilla: '5.038'
Dist::Zilla::Plugin::Authority: '0'
Dist::Zilla::Plugin::Test::CleanNamespaces: '0'
Dist::Zilla::Plugin::Test::Compile: '0'
Dist::Zilla::Plugin::Test::EOL: '0'
+ Dist::Zilla::Plugin::Test::MinimumVersion: '0'
Dist::Zilla::Plugin::Test::NoTabs: '0'
Dist::Zilla::Plugin::Test::Perl::Critic: '0'
Dist::Zilla::Plugin::Test::Pod::No404s: '0'
Pod::Weaver::Section::Version: '0'
Test::CPAN::Meta: '0'
namespace::autoclean: '0'
+ perl: '5.014'
strict: '0'
warnings: '0'
resources:
bugtracker: https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM/issues
homepage: https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM
repository: https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM.git
-version: '0.003'
+version: '0.004'
x_authority: cpan:CCM
x_serialization_backend: 'YAML::Tiny version 1.69'
use strict;
use warnings;
-use 5.006;
+use 5.014;
use ExtUtils::MakeMaker;
},
"DISTNAME" => "Dist-Zilla-PluginBundle-Author-CCM",
"LICENSE" => "perl",
- "MIN_PERL_VERSION" => "5.006",
+ "MIN_PERL_VERSION" => "5.014",
"NAME" => "Dist::Zilla::PluginBundle::Author::CCM",
"PREREQ_PM" => {
"Dist::Zilla" => "5.038",
"Dist::Zilla::Plugin::Test::CleanNamespaces" => 0,
"Dist::Zilla::Plugin::Test::Compile" => 0,
"Dist::Zilla::Plugin::Test::EOL" => 0,
+ "Dist::Zilla::Plugin::Test::MinimumVersion" => 0,
"Dist::Zilla::Plugin::Test::NoTabs" => 0,
"Dist::Zilla::Plugin::Test::Perl::Critic" => 0,
"Dist::Zilla::Plugin::Test::Pod::No404s" => 0,
"Test::More" => 0,
"blib" => "1.01"
},
- "VERSION" => "0.003",
+ "VERSION" => "0.004",
"test" => {
"TESTS" => "t/*.t"
}
"Dist::Zilla::Plugin::Test::CleanNamespaces" => 0,
"Dist::Zilla::Plugin::Test::Compile" => 0,
"Dist::Zilla::Plugin::Test::EOL" => 0,
+ "Dist::Zilla::Plugin::Test::MinimumVersion" => 0,
"Dist::Zilla::Plugin::Test::NoTabs" => 0,
"Dist::Zilla::Plugin::Test::Perl::Critic" => 0,
"Dist::Zilla::Plugin::Test::Pod::No404s" => 0,
VERSION
- version 0.003
+ version 0.004
SYNOPSIS
[PodSyntaxTests]
[Test::Pod::No404s]
[Test::Compile]
+ [Test::MinimumVersion]
+ max_target_perl = 5.10.1
[Test::EOL]
[Test::NoTabs]
[Test::Perl::Critic]
location = build
type = text
[TravisYML]
+ build_branch = /^(dist|build\/.*)$/
[Manifest]
[ManifestSkip]
requires 'Dist::Zilla::Plugin::Test::CleanNamespaces';
requires 'Dist::Zilla::Plugin::Test::Compile';
requires 'Dist::Zilla::Plugin::Test::EOL';
+requires 'Dist::Zilla::Plugin::Test::MinimumVersion';
requires 'Dist::Zilla::Plugin::Test::NoTabs';
requires 'Dist::Zilla::Plugin::Test::Perl::Critic';
requires 'Dist::Zilla::Plugin::Test::Pod::No404s';
# KEYWORDS: dzil author bundle distribution tool
+use 5.014;
use warnings;
use strict;
-our $VERSION = '0.003'; # VERSION
+our $VERSION = '0.004'; # VERSION
use Dist::Zilla::Util;
use Moose;
sub configure {
my $self = shift;
+ my @copy_from_build = qw(LICENSE);
+ my @network_plugins = qw(Git::Push Test::Pod::No404s UploadToCPAN);
+ my @gather_exclude = (@copy_from_build, qw(README.md));
+ my @gather_prune = qw(dist.ini);
+ my @no_index = qw(eg share shares t xt);
+ my @allow_dirty = (@copy_from_build, qw(.travis.yml Changes LICENSE README.md));
+ my @git_remotes = qw(github origin);
+ my @check_files = qw(:InstallModules :ExecFiles :TestFiles :ExtraTestFiles);
+ my $perl_version_target = '5.10.1';
+ my $perl_version = '5.24 5.22 5.20 5.18 5.16 5.14';
+ my $perl_version_build = $perl_version . ' 5.12 5.10 -5.8';
+
if ($self->no_upload) {
- print '[@Author::CCM] WARNING! WARNING! WARNING! *** You are in no_upload mode!! ***', "\n";
+ say '[@Author::CCM] WARNING! WARNING! WARNING! *** You are in no_upload mode!! ***';
}
- my @copy_from_build = qw(LICENSE);
- my @network_plugins = qw(Git::Push Test::Pod::No404s UploadToCPAN);
- my @gather_exclude = (@copy_from_build, qw(README.md));
- my @gather_prune = qw(dist.ini);
- my @no_index = qw(eg share shares t xt);
- my @allow_dirty = (@copy_from_build, qw(.travis.yml Changes LICENSE README.md));
- my @git_remotes = qw(github origin);
- my @check_files = qw(:InstallModules :ExecFiles :TestFiles :ExtraTestFiles);
-
my @plugins = (
# VERSION
['PodSyntaxTests'],
['Test::Pod::No404s'],
['Test::Compile'],
+ ['Test::MinimumVersion' => {max_target_perl => $perl_version_target}],
['Test::EOL' => {finder => [@check_files]}],
['Test::NoTabs' => {finder => [@check_files]}],
['Test::Perl::Critic'],
['License'],
['ReadmeAnyFromPod' => 'repo readme' => {filename => 'README.md', location => 'root', type => 'markdown', phase => 'release'}],
['ReadmeAnyFromPod' => 'dist readme' => {filename => 'README', location => 'build', type => 'text'}],
- ['TravisYML'],
+ ['TravisYML' => {build_branch => '/^(dist|build\/.*)$/', perl_version => $perl_version, perl_version_build => $perl_version_build}],
['Manifest'],
['ManifestSkip'],
=head1 VERSION
-version 0.003
+version 0.004
=head1 SYNOPSIS
[PodSyntaxTests]
[Test::Pod::No404s]
[Test::Compile]
+ [Test::MinimumVersion]
+ max_target_perl = 5.10.1
[Test::EOL]
[Test::NoTabs]
[Test::Perl::Critic]
location = build
type = text
[TravisYML]
+ build_branch = /^(dist|build\/.*)$/
[Manifest]
[ManifestSkip]
# ABSTRACT: A plugin bundle for pod woven by CCM
+use 5.008;
use warnings;
use strict;
-our $VERSION = '0.003'; # VERSION
+our $VERSION = '0.004'; # VERSION
use Pod::Weaver::Config::Assembler;
use namespace::autoclean;
=head1 VERSION
-version 0.003
+version 0.004
=head1 SYNOPSIS
'Test::CPAN::Meta' => '0',
'Test::CleanNamespaces' => '0.15',
'Test::EOL' => '0',
+ 'Test::MinimumVersion' => '0',
'Test::More' => '0.96',
'Test::NoTabs' => '0',
'Test::Pod' => '1.41',
'Dist::Zilla::Plugin::Test::CleanNamespaces' => '0',
'Dist::Zilla::Plugin::Test::Compile' => '0',
'Dist::Zilla::Plugin::Test::EOL' => '0',
+ 'Dist::Zilla::Plugin::Test::MinimumVersion' => '0',
'Dist::Zilla::Plugin::Test::NoTabs' => '0',
'Dist::Zilla::Plugin::Test::Perl::Critic' => '0',
'Dist::Zilla::Plugin::Test::Pod::No404s' => '0',
'Pod::Weaver::Section::Version' => '0',
'Test::CPAN::Meta' => '0',
'namespace::autoclean' => '0',
+ 'perl' => '5.014',
'strict' => '0',
'warnings' => '0'
}
'IO::Handle' => '0',
'IPC::Open3' => '0',
'Test::More' => '0',
- 'blib' => '1.01',
- 'perl' => '5.006'
+ 'blib' => '1.01'
}
}
};
'xt/author/pod-syntax.t',
'xt/author/portability.t',
'xt/release/cpan-changes.t',
- 'xt/release/distmeta.t'
+ 'xt/release/distmeta.t',
+ 'xt/release/minimum-version.t'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
'xt/author/pod-syntax.t',
'xt/author/portability.t',
'xt/release/cpan-changes.t',
- 'xt/release/distmeta.t'
+ 'xt/release/distmeta.t',
+ 'xt/release/minimum-version.t'
);
notabs_ok($_) foreach @files;
--- /dev/null
+#!perl
+
+use Test::More;
+
+eval "use Test::MinimumVersion";
+plan skip_all => "Test::MinimumVersion required for testing minimum versions"
+ if $@;
+all_minimum_version_ok( qq{5.14.0} );