diff options
| author | telyn <telyn@bytemark.co.uk> | 2018-01-25 11:43:32 +0000 | 
|---|---|---|
| committer | telyn <telyn@bytemark.co.uk> | 2018-01-25 11:56:49 +0000 | 
| commit | 7cfa1da66efbc1ba12c5f13faa1c602d12428bc2 (patch) | |
| tree | ec2b30f262090d511d7a82279cd546233881c221 | |
| parent | b2468a1977d0982e73b64e4cc80ad8120fa16365 (diff) | |
add codeclimate again but disable duplication test for js
| -rw-r--r-- | .codeclimate.yml | 7 | ||||
| -rw-r--r-- | .gitlab-ci.yml | 11 | 
2 files changed, 18 insertions, 0 deletions
| diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..04768ee --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,7 @@ +-- +engines: +  duplication: +    enabled:false +    config: +      languages: +        - javascript diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07b992b..002a2e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,17 @@ stages:    - package    - publish +codeclimate: +  image: $CI_REGISTRY/docker-images/layers:stretch-codeclimate +  stage: test +  tags: +    - docker-socket +  script: +    - codeclimate analyze -f json > codeclimate.json +  artifacts: +    paths: [codeclimate.json] + +  .test: &test    image: $CI_REGISTRY/docker-images/layers:$DISTRO-ruby    stage: test | 
