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

View file

@ -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