Skip to content

Commit

Permalink
Fix tests with -Ddefault_inc_excludes_dot
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
kentfredric committed Mar 3, 2017
1 parent e5779a7 commit 7164a42
Show file tree
Hide file tree
Showing 10 changed files with 166 additions and 68 deletions.
94 changes: 48 additions & 46 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,58 @@
language: perl
matrix:
allow_failures:
- perl: "5.8"
- env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1
- env: STERILIZE_ENV=0 DEVELOPER_DEPS=1
include:
- perl: "5.8"
env: STERILIZE_ENV=0
- perl: "5.10"
env: STERILIZE_ENV=0
- perl: "5.12"
env: STERILIZE_ENV=0
- perl: "5.14"
env: STERILIZE_ENV=0
- perl: "5.16"
env: STERILIZE_ENV=0
- perl: "5.20"
env: STERILIZE_ENV=0
- perl: "5.21"
env: STERILIZE_ENV=0
- perl: "5.8"
env: STERILIZE_ENV=1
- perl: "5.10"
env: STERILIZE_ENV=1
- perl: "5.20"
env: STERILIZE_ENV=1
- perl: "5.21"
env: STERILIZE_ENV=1
- perl: "5.21"
env: STERILIZE_ENV=0 DEVELOPER_DEPS=1
- perl: "5.21"
env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1
- perl: "5.21"
env: STERILIZE_ENV=0 COVERAGE_TESTING=1
---
after_failure:
- perl ./maint-travis-ci/report_fail_ctx.pl
before_install:
- perlbrew list
- time git clone --depth 10 https://github.com/kentfredric/travis-scripts.git maint-travis-ci
- time git -C ./maint-travis-ci reset --hard master
- time perl ./maint-travis-ci/branch_reset.pl
- time perl ./maint-travis-ci/sterilize_env.pl
install:
- time perl ./maint-travis-ci/install_deps_early.pl
- time perl ./maint-travis-ci/install_deps.pl
before_script:
- time perl ./maint-travis-ci/before_script.pl
script:
- time perl ./maint-travis-ci/script.pl
after_failure:
- perl ./maint-travis-ci/report_fail_ctx.pl
branches:
only:
- "master"
- "build/master"
- "releases"

- master
- builds
- releases
install:
- time perl ./maint-travis-ci/install_deps_early.pl
- time perl ./maint-travis-ci/autoinstall_dzil.pl
- time perl ./maint-travis-ci/install_deps_2.pl
language: perl
matrix:
allow_failures:
- perl: '5.8'
- env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1
- env: STERILIZE_ENV=0 DEVELOPER_DEPS=1
include:
- env: STERILIZE_ENV=0 COVERAGE_TESTING=1
perl: '5.21'
- env: STERILIZE_ENV=1
perl: '5.21'
- env: STERILIZE_ENV=0
perl: '5.8'
- env: STERILIZE_ENV=0
perl: '5.10'
- env: STERILIZE_ENV=0
perl: '5.12'
- env: STERILIZE_ENV=0
perl: '5.14'
- env: STERILIZE_ENV=0
perl: '5.16'
- env: STERILIZE_ENV=0
perl: '5.20'
- env: STERILIZE_ENV=0
perl: '5.21'
- env: STERILIZE_ENV=1
perl: '5.8'
- env: STERILIZE_ENV=1
perl: '5.10'
- env: STERILIZE_ENV=1
perl: '5.20'
- env: STERILIZE_ENV=0 DEVELOPER_DEPS=1
perl: '5.21'
- env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1
perl: '5.21'
script:
- time perl ./maint-travis-ci/script.pl
sudo: false
11 changes: 10 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Release history for Dist-Zilla-Util-CurrentCmd

{{$NEXT}}
[Bugfix]
- Avoid test failures on 5.26 w/ -Ddefault_inc_excludes_dot
- Closes https://github.com/kentnl/Dist-Zilla-Util-CurrentCmd/issues/1

[Dependencies::Stats]
- Dependencies changed since 0.002002, see misc/*.deps* for details
- configure: (recommends: ↓1)
- develop: +8 ↑3 -1 (recommends: ↓1, suggests: ↑2)
- runtime: (recommends: +1)
- test: ↓1 (recommends: ↓2)

0.002002 2014-12-25T12:35:22Z bfb3c3f
[Bugfix]
Expand Down Expand Up @@ -54,4 +64,3 @@ Release history for Dist-Zilla-Util-CurrentCmd
- 5.010001 : 46
- 5.018002 : 29
- 5.019009 : 29

6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This software is copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
Expand All @@ -12,7 +12,7 @@ b) the "Artistic License"

--- The GNU General Public License, Version 1, February 1989 ---

This software is Copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.
This software is Copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.

This is free software, licensed under:

Expand Down Expand Up @@ -272,7 +272,7 @@ That's all there is to it!

--- The Artistic License 1.0 ---

This software is Copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.
This software is Copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.

This is free software, licensed under:

Expand Down
2 changes: 1 addition & 1 deletion README.mkdn
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Kent Fredric <kentnl@cpan.org>

# COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
43 changes: 30 additions & 13 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ include_dotfiles = 1

[MetaJSON / @Author::KENTNL/MetaJSON]

[MetaYAML / @Author::KENTNL/MetaYAML]
[MetaYAML::Minimal / @Author::KENTNL/MetaYAML::Minimal]

[Manifest / @Author::KENTNL/Manifest]

[Author::KENTNL::TravisCI / @Author::KENTNL/Author::KENTNL::TravisCI]
:version = 0.001002

[CopyFilesFromBuild / @Author::KENTNL/CopyXBuild]
copy = LICENSE

Expand All @@ -64,6 +67,8 @@ trailing_whitespace = 1
[Test::MinimumVersion / @Author::KENTNL/Test::MinimumVersion]

[Test::Compile::PerFile / @Author::KENTNL/Test::Compile::PerFile]
:version = 0.003902
test_template = 02-raw-require.t.tpl

[Test::Perl::Critic / @Author::KENTNL/Test::Perl::Critic]

Expand All @@ -82,7 +87,7 @@ replacer = replace_with_blank
-phase = develop
-type = suggests
Dist::Zilla::App::Command::bakeini = 0.001000
Dist::Zilla::PluginBundle::Author::KENTNL = 2.022002
Dist::Zilla::PluginBundle::Author::KENTNL = 2.025020

[Prereqs::AuthorDeps / @Author::KENTNL/Prereqs::AuthorDeps]

Expand All @@ -98,12 +103,9 @@ locate_comment = 1
default_jobs = 10

[Author::KENTNL::RecommendFixes / @Author::KENTNL/Author::KENTNL::RecommendFixes]
:version = 0.001001
:version = 0.004002

[ReadmeAnyFromPod / @Author::KENTNL/ShippedReadme]
filename = README
location = build
type = text
[Readme::Brief / @Author::KENTNL/ShippedReadme]

[ReadmeAnyFromPod / @Author::KENTNL/ReadmeAnyFromPod]
filename = README.mkdn
Expand All @@ -129,6 +131,7 @@ tag_format = %v-source

[Git::NextRelease / @Author::KENTNL/Git::NextRelease]
:version = 0.004000
default_branch = master
format = %v %{yyyy-MM-dd'T'HH:mm:ss}dZ %h
time_zone = UTC

Expand All @@ -138,6 +141,7 @@ time_zone = UTC
allow_dirty_match = ^lib/

[Git::CommitBuild / @Author::KENTNL/Git::CommitBuild]
branch = builds
release_branch = releases

[Git::Tag / @Author::KENTNL/tag_release]
Expand All @@ -151,21 +155,31 @@ hash_tags = #perl #cpan #distzilla
tweet_url = https://metacpan.org/release/{{$AUTHOR_UC}}/{{$DIST}}-{{$VERSION}}{{$TRIAL}}#whatsnew
url_shortener = none

[Prereqs::Recommend::MatchInstalled / @Author::KENTNL/Prereqs::Recommend::MatchInstalled]
modules = ExtUtils::MakeMaker
modules = Test::More
[Prereqs::Upgrade / @Author::KENTNL/Prereqs::Upgrade]
Dist::Zila::Plugin::MetaProvides::Package = 2.000000
Dist::Zilla = 5
ExtUtils::MakeMaker = 7.00
File::ShareDir::Install = 0.10
Moo = 1.000008
Moose = 2.000
Path::Tiny = 0.058
Test::File::ShareDir = 1.000000
Test::More = 0.99

[Prereqs::Recommend::MatchInstalled / @Author::KENTNL/always_latest_develop_bundle]
applyto_map = develop.suggests = develop.suggests
applyto_phase = develop
modules = Dist::Zilla::PluginBundle::Author::KENTNL
modules = Dist::Zilla::App::Command::bakeini

[RemovePrereqs::Provided / @Author::KENTNL/RemovePrereqs::Provided]

[Prereqs / @Author::KENTNL/::Role::BundleDeps]
; auto_prereqs_skip = File::Find
-phase = develop
-relationship = requires
Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.001001
Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002
Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002
Dist::Zilla::Plugin::Authority = 1.006
Dist::Zilla::Plugin::AutoPrereqs = 0
Dist::Zilla::Plugin::BumpVersionAfterRelease = 0
Expand All @@ -188,19 +202,22 @@ Dist::Zilla::Plugin::MetaData::BuiltWith = 1.004000
Dist::Zilla::Plugin::MetaJSON = 0
Dist::Zilla::Plugin::MetaProvides::Package = 1.14000001
Dist::Zilla::Plugin::MetaTests = 0
Dist::Zilla::Plugin::MetaYAML = 0
Dist::Zilla::Plugin::MetaYAML::Minimal = 0
Dist::Zilla::Plugin::MinimumPerl = 0
Dist::Zilla::Plugin::PodCoverageTests = 0
Dist::Zilla::Plugin::PodSyntaxTests = 0
Dist::Zilla::Plugin::PodWeaver = 0
Dist::Zilla::Plugin::Prereqs = 0
Dist::Zilla::Plugin::Prereqs::AuthorDeps = 0
Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled = 0
Dist::Zilla::Plugin::Prereqs::Upgrade = 0
Dist::Zilla::Plugin::Readme::Brief = 0
Dist::Zilla::Plugin::ReadmeAnyFromPod = 0
Dist::Zilla::Plugin::RemovePrereqs::Provided = 0
Dist::Zilla::Plugin::RewriteVersion::Sanitized = 0
Dist::Zilla::Plugin::RunExtraTests = 0
Dist::Zilla::Plugin::Test::CPAN::Changes = 0
Dist::Zilla::Plugin::Test::Compile::PerFile = 0
Dist::Zilla::Plugin::Test::Compile::PerFile = 0.003902
Dist::Zilla::Plugin::Test::EOL = 0
Dist::Zilla::Plugin::Test::Kwalitee = 0
Dist::Zilla::Plugin::Test::MinimumVersion = 0
Expand Down
2 changes: 2 additions & 0 deletions dist.ini.meta
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ twitter_extra_hash_tags = #distzilla
bumpversions = 1
copyfiles = LICENSE
srcreadme = mkdn
Test::Compile::PerFile.:version = 0.003902
Test::Compile::PerFile.test_template = 02-raw-require.t.tpl

; auto_prereqs_skip = File::Find

Expand Down
3 changes: 2 additions & 1 deletion misc/Changes.deps
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test)

0.002003
[Changed / test requires]
- Test::More 0.89 → 0

0.002002 2014-12-25T12:35:22Z
[Added / configure requires]
Expand Down Expand Up @@ -36,4 +38,3 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (co

[Changed / test requires]
- version 0 → 0.77

38 changes: 37 additions & 1 deletion misc/Changes.deps.all
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop)

0.002003
[Added / develop requires]
- Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002
- Dist::Zilla::Plugin::MetaYAML::Minimal
- Dist::Zilla::Plugin::Prereqs::Upgrade
- Dist::Zilla::Plugin::Readme::Brief
- Dist::Zilla::Plugin::RemovePrereqs::Provided
- English
- Software::License::Perl_5
- Test::MinimumVersion

[Added / runtime recommends]
- Moose 2.000

[Changed / configure recommends]
- ExtUtils::MakeMaker 7.04 → 7.00

[Changed / develop recommends]
- Test::More 1.301001_075 → 0.99

[Changed / develop requires]
- Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002
- Dist::Zilla::Plugin::Test::Compile::PerFile 0 → 0.003902
- Test::More 0 → 0.96

[Changed / develop suggests]
- Dist::Zilla::App::Command::bakeini 0.002000 → 0.002005
- Dist::Zilla::PluginBundle::Author::KENTNL 2.022002 → 2.025020

[Changed / test recommends]
- ExtUtils::MakeMaker 7.04 → 7.00
- Test::More 1.301001_075 → 0.99

[Changed / test requires]
- Test::More 0.89 → 0

[Removed / develop requires]
- Dist::Zilla::Plugin::MetaYAML

0.002002 2014-12-25T12:35:22Z
[Added / configure requires]
Expand Down Expand Up @@ -102,4 +139,3 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL depen

[Removed / develop suggests]
- Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0

25 changes: 24 additions & 1 deletion misc/Changes.deps.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL )

0.002003
[Added / develop requires]
- Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002
- Dist::Zilla::Plugin::MetaYAML::Minimal
- Dist::Zilla::Plugin::Prereqs::Upgrade
- Dist::Zilla::Plugin::Readme::Brief
- Dist::Zilla::Plugin::RemovePrereqs::Provided
- English
- Software::License::Perl_5
- Test::MinimumVersion

[Changed / develop recommends]
- Test::More 1.301001_075 → 0.99

[Changed / develop requires]
- Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002
- Dist::Zilla::Plugin::Test::Compile::PerFile 0 → 0.003902
- Test::More 0 → 0.96

[Changed / develop suggests]
- Dist::Zilla::App::Command::bakeini 0.002000 → 0.002005
- Dist::Zilla::PluginBundle::Author::KENTNL 2.022002 → 2.025020

[Removed / develop requires]
- Dist::Zilla::Plugin::MetaYAML

0.002002 2014-12-25T12:35:22Z
[Added / develop recommends]
Expand Down Expand Up @@ -55,4 +79,3 @@ This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and

[Removed / develop suggests]
- Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0

Loading

0 comments on commit 7164a42

Please sign in to comment.