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

CI / Travis: add zsh syntax check

This commit is contained in:
Lars Kruse 2016-10-17 02:21:16 +02:00
parent 9d14b92df4
commit c503e0dbcf
2 changed files with 9 additions and 1 deletions

View file

@ -71,6 +71,14 @@ sub process_file {
}
);
}
elsif ( $interpreter =~ m{/bin/zsh} ) {
run_check(
{ command => [ 'zsh', '-n', $file ],
description => 'zsh syntax check',
filename => $filename
}
);
}
elsif ( $interpreter =~ m{bash} ) {
run_check(
{ command => [ 'bash', '-n', $file ],