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:
parent
a23d4b3da9
commit
45ebc51c02
@ -35,6 +35,7 @@ my @files = find( {wanted=>\&test_syntax, no_chdir=>1}, 'plugins', 'lib' );
|
|||||||
sub test_syntax {
|
sub test_syntax {
|
||||||
my $f = $File::Find::name;
|
my $f = $File::Find::name;
|
||||||
chomp $f;
|
chomp $f;
|
||||||
|
return if $f =~ m{^plugins/};
|
||||||
return if ! -f $f;
|
return if ! -f $f;
|
||||||
return if $skip_syntax{$f};
|
return if $skip_syntax{$f};
|
||||||
return if $f =~ m/(~|\.(bak|orig|rej))/;
|
return if $f =~ m/(~|\.(bak|orig|rej))/;
|
||||||
|
Loading…
Reference in New Issue
Block a user