summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2019-07-16 20:53:16 +0200
committerMichael Catanzaro <mcatanzaro@posteo.net>2019-07-20 19:40:56 +0000
commit9a479479933c91fded146426c2efbb5853a96fff (patch)
treeb220a15f830affd21e99e6ef130a17657b1c6563 /.gitlab-ci.yml
parent6ed116c259940a65577662c34277e7b235bc8466 (diff)
downloadepiphany-9a479479933c91fded146426c2efbb5853a96fff.tar.gz
CI: Add cppcheck check
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07798b2e5..f64121576 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,15 @@ check-code-style:
script:
- bash data/check-code-style
+cppcheck:
+ stage: 'check'
+ image: alpine:latest
+ allow_failure: true
+ before_script:
+ - apk update && apk add cppcheck
+ script:
+ - cppcheck --enable=all --suppress=variableScope --suppress=unusedFunction --force -q . --error-exitcode=1 --library=gtk
+
variables:
BUNDLE: 'epiphany-git.flatpak'