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:
parent
9d14b92df4
commit
c503e0dbcf
2 changed files with 9 additions and 1 deletions
8
t/test.t
8
t/test.t
|
@ -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 ],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue