From e1e99128b5c90601a0637c823a68ee176815f179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Wed, 22 Aug 2018 16:31:57 +0200 Subject: [PATCH] Add lint (using rubocop) job to the CI --- .gitlab-ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 59b84cf..b053f62 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,21 @@ stages: - - setup + - lint - build - checking - deploy +run-lint: + image: debian:stable + stage: lint + allow_failure: true + tags: + - debian + before_script: + - apt-get update + - apt-get install -y rubocop + script: + - rubocop + # Build package using dpkg-buildpackage run-build: stage: build