Make CircleCI run RuboCop

This commit is contained in:
gregoirenovel 2017-06-13 10:58:46 +02:00
parent f5d4686b80
commit e635ebbce2

View file

@ -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/