summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjak1 <mike.wollmann@gmail.com>2021-05-21 22:47:45 +0200
committerjak1 <mike.wollmann@gmail.com>2021-05-21 22:47:45 +0200
commitd0eb866bcf526a2a775e8c14d3c397ae232d9974 (patch)
treeb156af228ad465cd60111bd4722cfb3054ba915c
parent246e982d10c6f04d30ac4b84b676ade949a05ef6 (diff)
downloadmv-d0eb866bcf526a2a775e8c14d3c397ae232d9974.tar.gz
mv-d0eb866bcf526a2a775e8c14d3c397ae232d9974.tar.bz2
mv-d0eb866bcf526a2a775e8c14d3c397ae232d9974.tar.xz
mv-d0eb866bcf526a2a775e8c14d3c397ae232d9974.zip
added lint stage
(to prevent pipelines from running all trou in case any linting failes)
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e9b3039f9..c0d1ec84d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,5 @@
stages:
+ - lint
- prebuild
- build
@@ -288,7 +289,7 @@ gcc-8_unittestsbin:
libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
mplint:
- stage: prebuild
+ stage: lint
script:
- ./tools/ci/jobs/mplint.sh src
- ./tools/ci/jobs/mplint.sh po
@@ -299,7 +300,7 @@ mplint:
make autoconf automake autopoint gettext
linters:
- stage: prebuild
+ stage: lint
script:
- ./tools/ci/jobs/pngcheck.sh
- ./tools/ci/jobs/imagemagiccheck.sh