summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-07 14:12:20 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-08 15:18:08 +0200
commit60e31b66fe928f065b457a3cb88260ea951b5f5e (patch)
tree6e03bfc97f98778fa41829c3d554eaaf9f888163 /.gitlab-ci.yml
parent6c0572e09ab08cf8acee43dc27b5249f1b579599 (diff)
downloadgnutls-60e31b66fe928f065b457a3cb88260ea951b5f5e.tar.gz
.gitlab-ci.yml: enable more cppcheck tests
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 051231266b..be4a24cf5e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ variables:
DEBIAN_BUILD: buildenv-debian-stretch
FEDORA_BUILD: buildenv-f26
FEDORA_X86_BUILD: buildenv-f26-x86
+ CPPCHECK_OPTIONS: "--enable=style --enable=performance --enable=portability --std=c99 --suppressions-list=devel/cppcheck.suppressions --template='{id}:{file}:{line},{severity},{message}'"
GET_SOURCES_ATTEMPTS: "3"
################
@@ -203,8 +204,8 @@ static-analyzers/Fedora/x86_64:
- make -j$(nproc) -C gl
- scan-build --status-bugs -o scan-build-lib make -j$(nproc) -C lib
- scan-build --status-bugs -o scan-build-libdane make -j$(nproc) -C libdane
- - cppcheck --force -q -Ilib/include -Igl/ -Ilib/ -I. --error-exitcode=1 lib/ -i lib/unistring
- - cppcheck --force -q -Ilib/include -Igl/ -Ilibdane/ -I. --error-exitcode=1 libdane/
+ - cppcheck --force -q -Ilib/include -Igl/ -Ilib/ -I. --error-exitcode=1 lib/ -i lib/unistring -i lib/minitasn1 -j$(nproc) $CPPCHECK_OPTIONS
+ - cppcheck --force -q -Ilib/include -Igl/ -Ilibdane/ -I. --error-exitcode=1 libdane/ -j$(nproc) $CPPCHECK_OPTIONS
tags:
- shared
except: