This is an automated email from the git hooks/post-receive script. alexm-guest pushed a commit to branch master in repository pkg-perl-tools.
commit 0343b0a8bd52a0ceafbbd1fa9e9a44419d087f16 Author: Alex Muntada <al...@alexm.org> Date: Wed Nov 2 01:48:08 2016 +0100 Skip t/github.t unless AUTHOR_TESTING is set --- t/github.t | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/t/github.t b/t/github.t index 12ad22f..4752546 100644 --- a/t/github.t +++ b/t/github.t @@ -4,11 +4,13 @@ use strict; use warnings; use Test::More; -use Test::RequiresInternet ( 'github.com' => 22 ); -use Debian::PkgPerl::GitHub; BEGIN { plan skip_all + => "Set AUTHOR_TESTING to perform this test" + unless $ENV{AUTHOR_TESTING}; + + plan skip_all => "GitHub tests require DPT_GITHUB_OAUTH token" . " and Net::GitHub" unless $ENV{DPT_GITHUB_OAUTH} @@ -16,6 +18,9 @@ BEGIN { and eval "use Net::GitHub; 1"; } +use Test::RequiresInternet ( 'github.com' => 22 ); +use Debian::PkgPerl::GitHub; + # Defaults my $owner = 'alexm'; my $repo = 'pkg-perl-dummy'; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.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