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:
|
||||
stage: test
|
||||
only:
|
||||
- dev
|
||||
image: sleede/rubocop-fm:latest
|
||||
script:
|
||||
- git diff --name-only master --diff-filter AMT | grep \\.rb$ | xargs bundle exec rubocop
|
||||
|
||||
include:
|
||||
- template: Code-Quality.gitlab-ci.yml
|
||||
stages:
|
||||
- test
|
||||
|
Loading…
Reference in New Issue
Block a user