Enable use of aliases in .gitlab-ci.yml
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
bae9c07eb7
commit
c207da92bb
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue