aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-06-18 00:01:41 +0200
committerToni Uhlig <matzeton@googlemail.com>2018-06-18 00:01:41 +0200
commit41ef7c4cce0819bb3f86a01d8c33da2f068061da (patch)
treeeec1c7d03221a2bf6acbab3708900e9c6994132d
parent6d5870fc01a39cfc51eb28f891e8e9cc48aabc7e (diff)
added cppcheck to gitlab yaml for code analysis
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 63e64e1..8323b18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,3 +44,10 @@ flawfinder:
paths:
- ./flawfinder.html
- ./flawfinder_inputs.html
+
+cppcheck:
+ image: base/archlinux
+ stage: analysis
+ script:
+ - pacman -Syu --noconfirm cppcheck
+ - cppcheck --enable=all --inconclusive --std=posix .