diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b57448d3140603488bca368b06863975a4a20e7a..2b80d2db9296994df9fd493a61dd7a74e57cf66f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ code_quality: tags: - docker script: - - DEBIAN_FRONTEND=noninteractive TZ="Europe/London" apt update && apt install -y python3 python3-pip cppcheck + - DEBIAN_FRONTEND=noninteractive TZ="Europe/London" ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && apt update && apt install -y python3 python3-pip cppcheck - python3 -m pip install -U cppcheck_codequality - cppcheck --xml --enable=warning,style,performance --std=c++14 --suppress=*:*catch.hpp --suppress=*:*loguru.cpp --suppress=*:*json.hpp ./ 2> cppcheck_out.xml - cppcheck-codequality --input-file=cppcheck_out.xml --output-file=cppcheck.json