diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb8673b..e9c358d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,10 +2,11 @@ image: ubuntu:latest before_script: - apt-get update && apt-get install -y --no-install-recommends shellcheck + - shopt -s expand_aliases + - alias shellcheck="shellcheck -x --exclude=SC2034,SC1091,SC1090" Lint: script: - - alias shellcheck="shellcheck -x --exclude=SC2034,SC1091,SC1090" - - shellcheck -x --exclude=SC2034,SC1091 ./system/bin/* + - shellcheck ./system/bin/* - shellcheck ./system/.aliases - shellcheck ./system/.bash_logout - shellcheck ./system/.bash_profile