diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-06-18 00:01:41 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-06-18 00:01:41 +0200 |
commit | 41ef7c4cce0819bb3f86a01d8c33da2f068061da (patch) | |
tree | eec1c7d03221a2bf6acbab3708900e9c6994132d | |
parent | 6d5870fc01a39cfc51eb28f891e8e9cc48aabc7e (diff) |
added cppcheck to gitlab yaml for code analysis
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | .gitlab-ci.yml | 7 |
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 . |