Skip to content
Snippets Groups Projects

Resolve "Add clang format to the CI tests"

Merged Prada Sarasola, Miguel requested to merge 13-add-clang-format-to-the-ci-tests into master
Files
3
@@ -75,6 +75,22 @@ industrial_ci_kinetic_deploy:
only:
- tags
clang_format:
stage: postcheck
before_script:
- apk add --update bash coreutils tar wget
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .ci_config -b legacy
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/clang-format -O .clang-format
script: .ci_config/gitlab.sh
variables:
ROS_DISTRO: kinetic
CLANG_FORMAT_CHECK: file
CLANG_FORMAT_VERSION: "3.8"
when: always
tags:
- docker
allow_failure: yes
##########################################################
## Simple check for basic Python syntax errors; this is much less thorough than
## other options like pylint, but much faster and less strict
Loading