1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

travis: remove the check for the nvidia plugin

This commit is contained in:
Steve Schnepp 2019-07-27 16:54:43 +02:00
parent 6c2a996879
commit 58f0ab64f3
3 changed files with 7 additions and 2 deletions

View file

@ -58,8 +58,9 @@ install:
- cpanm --notest XML::Simple
- cpanm --notest XML::Smart
- cpanm --notest XML::Twig
- cpanm --notest nvidia::ml
- cpanm --notest experimental
# Modules used bu plugins, but not compiling from CPAN
# - cpanm --notest nvidia::ml
# Modules used by plugins, but missing on cpan
# - File::Tail::Multi
# - Sun::Solaris::Kstat

View file

View file

@ -48,7 +48,11 @@ sub process_file {
my ( $file, $filename, $interpreter, $arguments ) = @_;
use v5.10.1;
if ( ! -x $file ) {
if ( -r "$file.nocheck") {
skip( sprintf("\nFile '%s' has a .nocheck flag. Ignoring\n", $file), 1);
pass("Not pretending everything is ok");
}
elsif ( ! -x $file ) {
# missing executable flag
diag(
sprintf("\nFile '%s' lacks executable permission bits. Maybe try 'chmod +x $file'?\n",