From 8aa2755eca2b6d9c40b5e9a8e6f28e701cfa176c Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Thu, 18 Jul 2019 15:46:42 +0200 Subject: [PATCH] static analysis reports --- .gitlab-ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 632815a..f7967a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,12 +51,13 @@ static_analysis: - pio init --ide atom script: # - cppcheck --enable=all --check-config src - - cppcheck src + - cppcheck --error-exitcode=1 src 2>&1 | tee cppcheck-err.txt - script/build_compile_commands.py - - run-clang-tidy -fix src -# artifacts: -# reports: -# - + - run-clang-tidy -fix -export-fixes=clang-tidy-fixes.yml src + artifacts: + reports: + - clang-tidy-fixes.yml + - cppcheck-err.txt deploy: stage: deploy