1use Test::More; 2 3if (not $ENV{RELEASE_TESTING} ) { 4 my $msg = 'Author test. Set $ENV{RELEASE_TESTING} to a true value to run.'; 5 plan( skip_all => $msg ); 6} 7 8eval { require Test::CPAN::Meta } 9 or plan skip_all => "Test::CPAN::Meta required for testing META.yml"; 10 11Test::CPAN::Meta::meta_yaml_ok();