From 4486044156a844acaf22979d1835ef04aa7e1743 Mon Sep 17 00:00:00 2001 From: kongr45gpen <electrovesta@gmail.com> Date: Sun, 18 Nov 2018 13:44:36 +0200 Subject: [PATCH] Make tests run faster by not requiring all dependencies for all jobs --- .gitlab-ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2da357dc..e2ee6ef3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,7 @@ image: rikorose/gcc-cmake before_script: - - apt-get update -qq && apt-get install -y -qq cppcheck vera++ clang-tidy-4.0 - g++ --version - - cppcheck --version - - vera++ --version - - clang-tidy-4.0 --version - - cp ci/vera.profile /usr/lib/vera++/profiles/custom build: script: @@ -17,13 +12,23 @@ build: - make -j4 cppcheck: + before_script: + - apt-get update -qq && apt-get install -y -qq cppcheck + - cppcheck --version script: - bash -x ci/cppcheck.sh vera: + before_script: + - apt-get update -qq && apt-get install -y -qq vera++ + - vera++ --version + - cp ci/vera.profile /usr/lib/vera++/profiles/custom script: - bash -x ci/vera.sh clang-tidy: + before_script: + - apt-get update -qq && apt-get install -y -qq clang-tidy-4.0 + - clang-tidy-4.0 --version script: - bash -x ci/clang-tidy.sh -- GitLab