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 c450538d397cd587491372af2e7210f51c2db089
Author: Kent Fredric <kentfred...@gmail.com>
Date:   Wed Oct 30 07:55:54 2013 +1300

    instaldeps: exit 0 early when master + 5.8 or STERILIZE_ENV unset
---
 install_deps.pl | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/install_deps.pl b/install_deps.pl
index 7aa6b0b..3ac11b9 100644
--- a/install_deps.pl
+++ b/install_deps.pl
@@ -71,7 +71,14 @@ if ( not env_exists('TRAVIS') ) {
   diag('Is not running under travis!');
   exit 1;
 }
-
+if ( not env_exists('STERILIZE_ENV') ) {
+  diag("\e[31STERILIZE_ENV is not set, skipping, because this is probably 
Travis's Default ( and unwanted ) target");
+  exit 0;
+}
+if ( env_is( 'TRAVIS_BRANCH', 'master' ) and env_is( 'TRAVIS_PERL_VERSION', 
'5.8' ) ) {
+  diag("\e[31minstalldeps skipped on 5.8 on master, because \@Git, a 
dependency of \@Author::KENTNL, is unavailble on 5.8\e[0m");
+  exit 0;
+}
 my (@params) = qw[ --quiet --notest --mirror http://cpan.metacpan.org/ 
--no-man-pages ];
 if ( env_true('DEVELOPER_DEPS') ) {
   push @params, '--dev';

-- 
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

Reply via email to