Make CircleCI run RuboCop
This commit is contained in:
parent
f5d4686b80
commit
e635ebbce2
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,9 @@ jobs:
|
|||
command: |
|
||||
TESTFILES=$(circleci tests glob "spec/**/*.rb"| xargs -n 1 echo | grep -v "spec/factories/" | tr " " "\n" | circleci tests split --split-by=timings)
|
||||
bundle exec rspec --color --require spec_helper -- ${TESTFILES}
|
||||
- run:
|
||||
name: Run rubocop
|
||||
command: bundle exec rubocop
|
||||
- run:
|
||||
name: Run haml-lint
|
||||
command: bundle exec haml-lint app/views/
|
||||
|
|
Loading…
Add table
Reference in a new issue