summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-04-02 15:07:05 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-04-02 15:07:05 +0200
commit6a849451d68f58641e2442a4d2ac49d7b14add8d (patch)
tree87b68c7e3c92790c397e0fc7bfbde586941c8090 /.gitlab-ci.yml
parentd5c0e151fcf2f5146529bc3dcc2db443240c3182 (diff)
downloadgnutls-6a849451d68f58641e2442a4d2ac49d7b14add8d.tar.gz
.gitlab-ci.yml: combined static analyser runs
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml26
1 files changed, 3 insertions, 23 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bea0d208ae..6e82546542 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,28 +35,6 @@ init/Fedora/x86_64:
# Stage 1, documentation, and advanced checks
##################################################
-cppcheck/Fedora/x86_64:
- stage: stage1-testing
- image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
- script:
- - ./configure --prefix=/usr --libdir=/usr/lib64 --disable-cxx --disable-non-suiteb-curves --disable-maintainer-mode --disable-guile --enable-fips140-mode
- - 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/
- tags:
- - shared
- except:
- - tags
- dependencies:
- - init/Fedora/x86_64
- artifacts:
- expire_in: 1 week
- when: on_failure
- paths:
- - ./*.log
- - tests/*.log
- - tests/*/*.log
-
-
dist/Fedora:
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
@@ -272,7 +250,7 @@ asan/Fedora/x86_64:
- tests/*/*.log
- tests/suite/*/*.log
-clang-analyzer/Fedora/x86_64:
+static-analyzers/Fedora/x86_64:
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
@@ -280,6 +258,8 @@ clang-analyzer/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/
tags:
- shared
except: