mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
use codeclimate to run rubocop
This commit is contained in:
parent
cd93af1b5f
commit
b8f097cf7c
5
.codeclimate.yml
Normal file
5
.codeclimate.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
plugins:
|
||||||
|
rubocop:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
file: .rubocop.yml
|
@ -1,8 +1,4 @@
|
|||||||
rubocop:
|
include:
|
||||||
stage: test
|
- template: Code-Quality.gitlab-ci.yml
|
||||||
only:
|
stages:
|
||||||
- dev
|
- test
|
||||||
image: sleede/rubocop-fm:latest
|
|
||||||
script:
|
|
||||||
- git diff --name-only master --diff-filter AMT | grep \\.rb$ | xargs bundle exec rubocop
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user