From f82e0167aaf295b8451a07fa931506a1290efcdc Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Wed, 11 Nov 2020 14:49:04 +0100 Subject: [PATCH] [.gitlab-ci.yml] Make version before other targets --- .gitlab-ci.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e48355ea..a4bc67aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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