summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2019-07-16 17:55:06 +0200
committerJan-Michael Brummer <jan.brummer@tabos.org>2019-07-16 18:33:42 +0200
commit3c1984f5b8e95b84b8de8aeeff004926ea95a992 (patch)
treed90767c13d1fb9bc6caf87e42ae1e59c80e89dc6 /.gitlab-ci.yml
parent4c719915f66e4eb706830ab399f9815e32d2aa49 (diff)
downloadepiphany-3c1984f5b8e95b84b8de8aeeff004926ea95a992.tar.gz
CI: Add code style validation to pipeline
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ae91587b0..93b2d5c47 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,13 @@
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+check-code-style:
+ stage: 'build'
+ image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
+ before_script:
+ - dnf install -y uncrustify
+ script:
+ - data/check-code-style
+
variables:
BUNDLE: 'epiphany-git.flatpak'