summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2020-12-03 22:04:14 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2020-12-03 23:18:49 +0000
commita13faa52cee9accd20894ed5fdf9ba6d50a6f66e (patch)
tree9d39496f56124710d2b64239d855e42ed9389d28 /.gitlab-ci.yml
parent804ba7cfb500118dae3abab37e1c157d26debdc1 (diff)
downloadgnome-contacts-a13faa52cee9accd20894ed5fdf9ba6d50a6f66e.tar.gz
ci: Do some basic style checks
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d718482..c78259f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,24 @@
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+stages:
+ - review
+ - test
+ - deploy
+
+style-check:
+ stage: review
+ script:
+ - ./.gitlab/ci/style-check.sh
+ artifacts:
+ expire_in: 1 week
+ name: "style-check-junit-report"
+ when: always
+ reports:
+ junit: style-check-junit-report.xml
+ paths:
+ - "style-check-junit-report.xml"
+
+
flatpak:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
variables: