Commit 15fe78cc authored by Robert Speicher's avatar Robert Speicher

Merge branch 'dz-add-codequality' into 'master'

Add code quality job to gitlab-ci.yml

See merge request !138
parents bd59eb8d 3ab088a2
---
engines:
bundler-audit:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
fixme:
enabled: true
rubocop:
enabled: true
exclude_paths:
- spec/
- lib/vendor/
- go/vendor/
- tmp/
- coverage/
...@@ -70,3 +70,16 @@ go:1.6: ...@@ -70,3 +70,16 @@ go:1.6:
go:1.5: go:1.5:
<<: *go_definition <<: *go_definition
image: golang:1.5 image: golang:1.5
codeclimate:
before_script: []
image: docker:latest
variables:
DOCKER_DRIVER: overlay
services:
- docker:dind
script:
- docker pull codeclimate/codeclimate
- docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json
artifacts:
paths: [codeclimate.json]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment