mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
run linter only on dev
This commit is contained in:
parent
42472402c9
commit
c05e42c2b1
@ -1,5 +1,7 @@
|
|||||||
rubocop:
|
rubocop:
|
||||||
stage: linting
|
stage: test
|
||||||
|
only:
|
||||||
|
- dev
|
||||||
image: registry.gitlab.com/pipeline-components/rubocop:latest
|
image: registry.gitlab.com/pipeline-components/rubocop:latest
|
||||||
script:
|
script:
|
||||||
- git diff --name-only master --diff-filter AMT | grep \\.rb$ | xargs bundle exec rubocop
|
- git diff --name-only master --diff-filter AMT | grep \\.rb$ | xargs bundle exec rubocop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user