From 21c40fa7749821d83cdb2ce6bf7de50d37f14ecf Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 23 Jul 2019 17:37:19 +0200 Subject: [PATCH] [gitlab] Use bash/posix style CI for .zsh/.sh files --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 228b6b6..583c737 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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