diff options
-rw-r--r-- | .codeclimate.yml | 19 | ||||
-rw-r--r-- | .gitlab-ci.yml | 1 |
2 files changed, 19 insertions, 1 deletions
diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..172b2e3 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,19 @@ +--- +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/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 532e7db..20bd7ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -80,7 +80,6 @@ codeclimate: - 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 init - 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] |