This is an automated email from the git hooks/post-receive script. abe pushed a commit to annotated tag 0.2.2-source in repository libdist-zilla-role-bootstrap-perl.
commit 753f31f4227c2e2f1f2b1e698084822a4c8e6c40 Author: Kent Fredric <kentfred...@gmail.com> Date: Thu Oct 24 05:27:30 2013 +1300 Make tests work better on source trees" --- install_deps.pl | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/install_deps.pl b/install_deps.pl index 8d19949..abd2640 100644 --- a/install_deps.pl +++ b/install_deps.pl @@ -37,9 +37,6 @@ if ( env_true('DEVELOPER_DEPS') or env_is('TRAVIS_BRANCH','master') ) { } if ( env_is('TRAVIS_BRANCH', 'master' ) ) { safe_exec('cpanm', @params, 'Dist::Zilla', 'Capture::Tiny'); -} -safe_exec( 'cpanm', @params, '--installdeps', '.' ); -if ( env_is('TRAVIS_BRANCH', 'master' ) ) { require Capture::Tiny; my $stdout = Capture::Tiny::capture_stdout(sub { safe_exec('dzil', 'authordeps', '--missing'); @@ -49,15 +46,16 @@ if ( env_is('TRAVIS_BRANCH', 'master' ) ) { safe_exec('dzil','listdeps', '--missing'); }); safe_exec('cpanm', @params, split /\n/, $stdout ); -} -if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) { - require CPAN::Meta; - my $meta = CPAN::Meta->load_file('META.json'); - my $prereqs = $meta->effective_prereqs; - my $reqs = $prereqs->requirements_for( 'develop', 'requires' ); - for my $module ( sort $reqs->required_modules ) { - safe_exec( 'cpanm', @params, $module . '~' . $reqs->requirements_for_module($module) ); - } +} else { + safe_exec( 'cpanm', @params, '--installdeps', '.' ); + if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) { + require CPAN::Meta; + my $meta = CPAN::Meta->load_file('META.json'); + my $prereqs = $meta->effective_prereqs; + my $reqs = $prereqs->requirements_for( 'develop', 'requires' ); + for my $module ( sort $reqs->required_modules ) { + safe_exec( 'cpanm', @params, $module . '~' . $reqs->requirements_for_module($module) ); + } } exit 0; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-role-bootstrap-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits