Add lint (using rubocop) job to the CI

This commit is contained in:
Timothée Floure 2018-08-22 16:31:57 +02:00
parent 0092195f92
commit e1e99128b5
1 changed files with 13 additions and 1 deletions

View File

@ -1,9 +1,21 @@
stages: stages:
- setup - lint
- build - build
- checking - checking
- deploy - 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 # Build package using dpkg-buildpackage
run-build: run-build:
stage: build stage: build