[.gitlab-ci.yml] Make version before other targets

This commit is contained in:
Dennis Camera 2020-11-11 14:49:04 +01:00
parent e2d4f8037a
commit f82e0167aa
1 changed files with 9 additions and 6 deletions

View File

@ -1,20 +1,23 @@
---
image: code.ungleich.ch:5050/ungleich-public/cdist/cdist-ci:latest
stages:
- test
image: code.ungleich.ch:5050/ungleich-public/cdist/cdist-ci:latest
before_script:
- ./bin/cdist-build-helper version
unit_tests:
shellcheck:
stage: test
script:
- ./bin/cdist-build-helper version
- ./bin/cdist-build-helper test
- ./bin/cdist-build-helper shellcheck
pycodestyle:
stage: test
script:
- ./bin/cdist-build-helper pycodestyle
shellcheck:
unit_tests:
stage: test
script:
- ./bin/cdist-build-helper shellcheck
- ./bin/cdist-build-helper test