-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
afab917
commit c777046
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,5 @@ t/changes.t | |
t/coverage.t | ||
t/critic.t | ||
t/cv.t | ||
t/dist.t | ||
META.yml Module meta-data (added by MakeMaker) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
use strict; | ||
use warnings; | ||
|
||
use Test::Most; | ||
|
||
BEGIN { | ||
if($ENV{RELEASE_TESTING}) { | ||
eval { | ||
require Test::Distribution; | ||
}; | ||
if($@) { | ||
plan(skip_all => 'Test::Distribution not installed'); | ||
} else { | ||
import Test::Distribution; | ||
} | ||
} else { | ||
plan(skip_all => 'Author tests not required for installation'); | ||
} | ||
} |