forked from ungleich-public/cdist
gitlab CI runner should have necessary tools
This commit is contained in:
parent
648cdf8e29
commit
8c0ee28b99
1 changed files with 0 additions and 10 deletions
|
@ -3,26 +3,16 @@ stages:
|
||||||
|
|
||||||
unit_tests:
|
unit_tests:
|
||||||
stage: test
|
stage: test
|
||||||
before_script:
|
|
||||||
- 'apk update'
|
|
||||||
- 'apk add python3'
|
|
||||||
script:
|
script:
|
||||||
- ./bin/build-helper version
|
- ./bin/build-helper version
|
||||||
- ./bin/build-helper test
|
- ./bin/build-helper test
|
||||||
|
|
||||||
pycodestyle:
|
pycodestyle:
|
||||||
stage: test
|
stage: test
|
||||||
before_script:
|
|
||||||
- 'apk update'
|
|
||||||
- 'apk add python3 py3-pycodestyle'
|
|
||||||
- 'ln -f -s /usr/bin/pycodestyle-3 /usr/bin/pycodestyle'
|
|
||||||
script:
|
script:
|
||||||
- ./bin/build-helper pycodestyle
|
- ./bin/build-helper pycodestyle
|
||||||
|
|
||||||
shellcheck:
|
shellcheck:
|
||||||
stage: test
|
stage: test
|
||||||
before_script:
|
|
||||||
- '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:
|
||||||
- ./bin/build-helper shellcheck
|
- ./bin/build-helper shellcheck
|
||||||
|
|
Loading…
Reference in a new issue