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

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

diff --git a/script.pl b/script.pl
index 1f44ebe..b4dde39 100644
--- a/script.pl
+++ b/script.pl
@@ -41,7 +41,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[31script skipped on 5.8 on master, because \@Git, a dependency of 
\@Author::KENTNL, is unavailble on 5.8\e[0m");
+  exit 0;
+}
 if ( env_is( 'TRAVIS_BRANCH', 'master' ) ) {
   my $xtest = safe_exec_nonfatal( 'dzil', 'xtest' );
   my $test  = safe_exec_nonfatal( 'dzil', 'test' );

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