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
All threads resolved!
2 files
+ 18
6
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -18,10 +18,9 @@ before_script:
.industrial_ci:
stage: build
before_script:
- apk add --update bash coreutils tar wget
- apk add --update bash coreutils tar
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .ci_config -b legacy
- docker login ${ARTIFACT_DOCKER_URL} -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN}
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/clang-format -O .clang-format
script: .ci_config/gitlab.sh
variables:
ADDITIONAL_DEBS: curl
@@ -77,12 +76,19 @@ industrial_ci_kinetic_deploy:
- tags
clang_format:
extends: .industrial_ci
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
##########################################################
Loading