[gitlab] Use bash/posix style CI for .zsh/.sh files

This commit is contained in:
Marty Oehme 2019-07-23 17:37:19 +02:00
parent 7e302d8770
commit 21c40fa774

View file

@ -1,3 +1,4 @@
---
# This file is a template, and might need editing before it works on your project.
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
@ -10,9 +11,9 @@ shellcheck:
- shellcheck --version
script:
- echo "--------- CHECKING POSIX SHELLSCRIPTS -------------"
- find . -type f -name '*.sh' | xargs shellcheck
- find . -type f -name '*.sh' | xargs shellcheck -s sh
- echo "--------- CHECKING ZSH SHELLSCRIPTS -------------"
- find . -type f -name '*.zsh' | xargs shellcheck
- find . -type f -name '*.zsh' | xargs shellcheck -s bash
shfmt:
stage: test