Skip to content

Commit

Permalink
Update tooling to avoid .-in-INC requirement
Browse files Browse the repository at this point in the history
Closes #4
  • Loading branch information
kentfredric committed Mar 3, 2017
1 parent 186b2d1 commit 86150e7
Show file tree
Hide file tree
Showing 10 changed files with 225 additions and 71 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-Plugin-Prereqs-MatchInstalled

{{$NEXT}}
[Bugfix]
- Avoid test failures on 5.26 w/ -Ddefault_inc_excludes_dot
- Closes https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-MatchInstalled/issues/4

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

1.001002 2014-09-07T08:54:48Z
[Bugfix]
Expand Down Expand Up @@ -175,4 +185,3 @@ Release history for Dist-Zilla-Plugin-Prereqs-MatchInstalled

0.1.0 2013-07-31T15:59:15Z
- First version. Dogfood friendly, but no tests.

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 @@ -174,7 +174,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.
75 changes: 59 additions & 16 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ issues = 1
:version = 1.14000001

[MetaData::BuiltWith / @Author::KENTNL/MetaData::BuiltWith]
:version = 1.004000
show_config = 1
show_uname = 1
uname_args = -s -o -r -m -i
use_external_file = only

[Git::Contributors / @Author::KENTNL/Git::Contributors]
:version = 0.006
Expand All @@ -38,10 +40,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 @@ -55,12 +60,14 @@ copy = LICENSE

[Test::Kwalitee / @Author::KENTNL/Test::Kwalitee]

[EOLTests / @Author::KENTNL/EOLTests]
[Test::EOL / @Author::KENTNL/Test::EOL]
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 @@ -79,7 +86,9 @@ replacer = replace_with_blank
-phase = develop
-type = suggests
Dist::Zilla::App::Command::bakeini = 0.001000
Dist::Zilla::PluginBundle::Author::KENTNL = 2.020001
Dist::Zilla::PluginBundle::Author::KENTNL = 2.025020

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

[MinimumPerl / @Author::KENTNL/MinimumPerl]

Expand All @@ -93,9 +102,9 @@ locate_comment = 1
default_jobs = 10

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

[ReadmeFromPod / @Author::KENTNL/ReadmeFromPod]
[Readme::Brief / @Author::KENTNL/ShippedReadme]

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

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

[BumpVersionAfterRelease / @Author::KENTNL/BumpVersionAfterRelease]
Expand All @@ -129,6 +140,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 @@ -142,56 +154,78 @@ hash_tags = #perl #cpan
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]
; version_major = 0
; version_minor = 1
; the following data denotes when this minor was minted
; version_rel_year = 2013
; version_rel_month = 8
; version_rel_day = 1
; version_rel_hour = 2
; version_rel_time_zone = Pacific/Auckland
; 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
Dist::Zilla::Plugin::ConfirmRelease = 0
Dist::Zilla::Plugin::CopyFilesFromBuild = 0
Dist::Zilla::Plugin::EOLTests = 0
Dist::Zilla::Plugin::Git::Check = 0
Dist::Zilla::Plugin::Git::Commit = 0
Dist::Zilla::Plugin::Git::CommitBuild = 0
Dist::Zilla::Plugin::Git::Contributors = 0.006
Dist::Zilla::Plugin::Git::GatherDir = 0
Dist::Zilla::Plugin::Git::NextRelease = 0
Dist::Zilla::Plugin::Git::NextRelease = 0.004000
Dist::Zilla::Plugin::Git::Tag = 0
Dist::Zilla::Plugin::GithubMeta = 0
Dist::Zilla::Plugin::License = 0
Dist::Zilla::Plugin::MakeMaker = 0
Dist::Zilla::Plugin::Manifest = 0
Dist::Zilla::Plugin::ManifestSkip = 0
Dist::Zilla::Plugin::MetaConfig = 0
Dist::Zilla::Plugin::MetaData::BuiltWith = 0
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::ReadmeFromPod = 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
Dist::Zilla::Plugin::Test::Perl::Critic = 0
Expand All @@ -201,3 +235,12 @@ Dist::Zilla::Plugin::Twitter = 0
Dist::Zilla::Plugin::UploadToCPAN = 0

[Prereqs]
;[Prereqs::MatchInstalled]
;module = Dist::Zilla::PluginBundle::Author::KENTNL
;module = Test::Pod
;module = version
;modules = Test::CPAN::Meta
;module = Test::CPAN::Changes
;module = perl
;module = strict
;module = warnings
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_hash_tags = #perl #cpan
bumpversions = 1
copyfiles = LICENSE
srcreadme = mkdn
Test::Compile::PerFile.:version = 0.003902
Test::Compile::PerFile.test_template = 02-raw-require.t.tpl

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

1.001003
[Added / configure requires]
- perl 5.008

[Added / test requires]
- perl 5.008

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

1.001002 2014-09-07T08:54:48Z

Expand Down Expand Up @@ -125,4 +133,3 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (co
[Removed / test requires]
- File::Find
- File::Temp

Loading

0 comments on commit 86150e7

Please sign in to comment.