Commit 94a46e94 authored by Lucas Nussbaum's avatar Lucas Nussbaum

gitlab-ci: Add rubocop validation

parent 745dbbc1
Pipeline #54306 passed with stages
in 1 minute and 39 seconds
......@@ -3,6 +3,16 @@ stages:
- generate
- deploy
rubocop:
stage: validate
tags:
- grid5000-docker
image: debian:stretch
script:
- echo "deb http://deb.debian.org/debian/ stretch-backports main" >> /etc/apt/sources.list.d/stretch-backports.list
- apt-get update && apt-get -y install rubocop/stretch-backports
- rubocop --fail-level W
validate-data:
stage: validate
tags:
......
---
Lint/UnusedBlockArgument:
Severity: convention
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