Commit 747a9991 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

gitlab-ci: use entrypoint

parent 1b1b3f6c
...@@ -54,6 +54,7 @@ cache: ...@@ -54,6 +54,7 @@ cache:
- coverage/ - coverage/
{% endif %} {% endif %}
format: format:
entrypoint: [""]
{% if project.allow_format_failure %} allow_failure: true {% if project.allow_format_failure %} allow_failure: true
{% endif %} image: gepetto/linters {% endif %} image: gepetto/linters
retry: retry:
...@@ -63,7 +64,5 @@ format: ...@@ -63,7 +64,5 @@ format:
- test -f /builds/setup.cfg || ln -s /root/setup.cfg /builds - test -f /builds/setup.cfg || ln -s /root/setup.cfg /builds
- test -f /builds/.clang-format || ln -s /root/.clang-format /builds - test -f /builds/.clang-format || ln -s /root/.clang-format /builds
script: script:
- check-clang-format.sh - entrypoint.sh {% if not project.has_python %}--no-python{% endif %}
{% if project.has_python %}- flake8 .
- yapf -dr .
{% endif %} {% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment