From d5aac3df3c8dbfbd4564949cc3291d5eee82376d Mon Sep 17 00:00:00 2001 From: Grigoris Pavlakis <gregory.pavlakis@gmail.com> Date: Sun, 17 Mar 2019 23:47:56 +0000 Subject: [PATCH] Update ci/cppcheck.sh, .gitlab-ci.yml files Add `helit` tag to run on local CI --- .gitlab-ci.yml | 11 +++++++---- ci/cppcheck.sh | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e1d43535..19ca1713 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ before_script: - g++ --version - cat /etc/*-release -build: +.build: stage: build variables: GIT_SUBMODULE_STRATEGY: normal @@ -21,7 +21,7 @@ build: - cmake . -DCMAKE_CXX_FLAGS="-Wall -Wextra -fdiagnostics-color=always" # Build again, but with more warnings - make -j4 -tests: +.tests: stage: test variables: GIT_SUBMODULE_STRATEGY: normal @@ -40,10 +40,13 @@ cppcheck: before_script: - apt-get update -qq && apt-get install -y -qq cppcheck - cppcheck --version + - cppcheck --doc script: - ci/cppcheck.sh + tags: + - helit -vera: +.vera: stage: build before_script: - apt-get update -qq && apt-get install -y -qq vera++ @@ -52,7 +55,7 @@ vera: script: - ci/vera.sh -clang-tidy: +.clang-tidy: stage: build variables: GIT_SUBMODULE_STRATEGY: normal diff --git a/ci/cppcheck.sh b/ci/cppcheck.sh index d6bcded3..dd6aa043 100755 --- a/ci/cppcheck.sh +++ b/ci/cppcheck.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # -# Static code analysis using cppchecl +# Static code analysis using cppcheck # # Usage: # $ ci/cppcheck.sh -- GitLab