[.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

View file

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