Skip to content

Commit 51bafda

Browse files
committed
Build results of 6de1d56 (on master)
1 parent 29c1540 commit 51bafda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+941
-4983
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: perl
2+
perl:
3+
- "5.16"
4+
- "5.14"
5+
- "5.18"
6+
- "5.19"
7+
before_install:
8+
- perl ./maint-travis-ci/sterilize_env.pl
9+
branches:
10+
only:
11+
- "build/master"
12+
- "releases"
13+

Build

Lines changed: 0 additions & 58 deletions
This file was deleted.

Build.PL

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,17 @@ use Module::Build 0.3601;
77

88
my %module_build_args = (
99
"build_requires" => {
10-
"Dist::Zilla::Util::Test::KENTNL" => "0.01000004",
11-
"File::Find" => 0,
12-
"File::Temp" => 0,
13-
"Module::Build" => "0.4001",
14-
"Scalar::Util" => 0,
15-
"Test::Fatal" => 0,
16-
"Test::More" => "0.98"
10+
"Module::Build" => "0.4007"
1711
},
1812
"configure_requires" => {
19-
"Module::Build" => "0.4001"
13+
"Module::Build" => "0.4007"
2014
},
2115
"dist_abstract" => "Generating and Populating 'provides' in your META.yml",
2216
"dist_author" => [
2317
"Kent Fredric <kentnl\@cpan.org>"
2418
],
2519
"dist_name" => "Dist-Zilla-Plugin-MetaProvides",
26-
"dist_version" => "1.14000001",
20+
"dist_version" => "1.15000000",
2721
"license" => "perl",
2822
"module_name" => "Dist::Zilla::Plugin::MetaProvides",
2923
"recommends" => {},
@@ -41,10 +35,33 @@ my %module_build_args = (
4135
"strict" => 0,
4236
"warnings" => 0
4337
},
44-
"script_files" => []
38+
"script_files" => [],
39+
"test_requires" => {
40+
"Carp" => 0,
41+
"Dist::Zilla::Util::Test::KENTNL" => "0.01000004",
42+
"File::Temp" => 0,
43+
"IO::Handle" => 0,
44+
"Scalar::Util" => 0,
45+
"Test::Fatal" => 0,
46+
"Test::More" => "0.98",
47+
"lib" => 0
48+
}
4549
);
4650

4751

52+
unless ( eval { Module::Build->VERSION(0.4004) } ) {
53+
my $tr = delete $module_build_args{test_requires};
54+
my $br = $module_build_args{build_requires};
55+
for my $mod ( keys %$tr ) {
56+
if ( exists $br->{$mod} ) {
57+
$br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
58+
}
59+
else {
60+
$br->{$mod} = $tr->{$mod};
61+
}
62+
}
63+
}
64+
4865
my $build = Module::Build->new(%module_build_args);
4966

5067
$build->create_build_script;

0 commit comments

Comments
 (0)