gitlab runner should have necessary tools

This commit is contained in:
Darko Poljak 2019-12-02 09:26:47 +01:00
parent 5341de86fb
commit 109b70ea76

View file

@ -3,18 +3,10 @@ stages:
unit_tests: unit_tests:
stage: test stage: test
before_script:
- 'apk update'
- 'apk add make rsync'
script: script:
- make test - make test
shellcheck: shellcheck:
stage: test 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: script:
- make shellcheck - make shellcheck