From cdf171612227faf2287a39d4757d5e77aff321db Mon Sep 17 00:00:00 2001
From: Sebastian Eibl <sebastian.eibl@fau.de>
Date: Wed, 7 Nov 2018 11:11:45 +0100
Subject: [PATCH] made clang tidy a per commit build

---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a752439b6..6ed56d7ca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1519,6 +1519,9 @@ clang-tidy:
   - cmake . -LAH
   - utilities/filterCompileCommands.py compile_commands.json
   - run-clang-tidy.py -quiet | tee clang-tidy-output.txt
+  except:
+    variables:
+    - $DISABLE_PER_COMMIT_BUILDS
   artifacts:
     paths:
     - $CI_PROJECT_DIR/build/clang-tidy-output.txt
-- 
GitLab