From 740d798a24741d91bd3cc2a0eceed1d7b071b160 Mon Sep 17 00:00:00 2001 From: Felix Mauch Date: Tue, 9 Apr 2019 08:44:32 +0200 Subject: [PATCH] added clang-tidy --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f53630f..bf71689 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,3 +2,15 @@ include: 'http://ids-services.fzi.de:8079/master/gitlab-ci-yml/catkin_pipeline.y variables: BUILD_INDIGO: "false" BUILD_MELODIC: "false" + +clang-tidy: + tags: + - docker + image: ids-git.fzi.de:5555/continuous_integration/ci_docker_images/ubuntu_16.04_ros + stage: check + script: + - rosdep install --from-path ${CATKIN_ROOT}/src -y --ignore-src + - apt-get -y install clang-tidy-6.0 + - cd ${CATKIN_ROOT}/src + - cmake . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON + - /usr/bin/run-clang-tidy-6.0.py .