21 lines
486 B
YAML
21 lines
486 B
YAML
|
stages:
|
||
|
- test
|
||
|
|
||
|
unit_tests:
|
||
|
stage: test
|
||
|
before_script:
|
||
|
- 'apk update'
|
||
|
- 'apk add make rsync'
|
||
|
script:
|
||
|
- make test
|
||
|
|
||
|
shellcheck:
|
||
|
stage: test
|
||
|
before_script:
|
||
|
- 'apk update'
|
||
|
- 'apk add make'
|
||
|
- 'wget https://storage.googleapis.com/shellcheck/shellcheck-stable.linux.x86_64.tar.xz'
|
||
|
- 'tar xf shellcheck-stable.linux.x86_64.tar.xz && mv shellcheck-stable/shellcheck /usr/bin/'
|
||
|
script:
|
||
|
- make shellcheck
|