Add lint (using rubocop) job to the CI
This commit is contained in:
parent
0092195f92
commit
e1e99128b5
1 changed files with 13 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue