Don't syntax check plugins in the automated tests

Too many plugins have dependencies we don't require, so they fail in travis-ci
This commit is contained in:
Ask Bjørn Hansen 2012-04-29 01:48:33 -07:00
parent a23d4b3da9
commit 45ebc51c02

View File

@ -35,6 +35,7 @@ my @files = find( {wanted=>\&test_syntax, no_chdir=>1}, 'plugins', 'lib' );
sub test_syntax {
my $f = $File::Find::name;
chomp $f;
return if $f =~ m{^plugins/};
return if ! -f $f;
return if $skip_syntax{$f};
return if $f =~ m/(~|\.(bak|orig|rej))/;