Enable use of aliases in .gitlab-ci.yml

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2018-12-13 22:49:48 +01:00
parent bae9c07eb7
commit c207da92bb

View file

@ -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