mirror of
https://github.com/duncs/clusterssh.git
synced 2025-04-21 09:09:06 +00:00
Do not pull in Tk if build/test env vars set
This is to fix an ssue when generating POD on travis servers during testing
This commit is contained in:
parent
5016a136d6
commit
30a0817d3c
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ use base qw/ App::ClusterSSH::Base /;
|
|||
sub import {
|
||||
my ($class) = @_;
|
||||
|
||||
# If we are building or in test here, just exit
|
||||
# as travis build servers will not have Tk installed
|
||||
return if $ENV{AUTHOR_TESTING} || $ENV{RELEASE_TESTING};
|
||||
|
||||
# Find what windows module we should be using and just overlay it into
|
||||
# this object
|
||||
my $package_name = __PACKAGE__ . '::Tk';
|
||||
|
|
Loading…
Add table
Reference in a new issue