1.5.8 • Published 6 years ago

recink-codeclimate v1.5.8

Weekly downloads
17
License
MPL-2.0
Repository
github
Last release
6 years ago

REciNK Component for CodeClimate

This is a REciNK component that submit coverage information into CodeClimate backend.

Prerequisites

  • Git >= v1.x
  • Node.js >= v6.x
  • NPM >= v3.x
  • REciNK

Use nvm to install and manage different versions of Node.js; Ideally, use v8+ for faster performance

Installation

  • npm install -g recink-codeclimate

Note that the component is installed automatically when running recink component add codeclimate

Configuration

.recink.yml configuration:

$:
  preprocess:
    '$.codeclimate.token': 'eval'
  codeclimate:
    token: 'process.env.CODECLIMATE_REPO_TOKEN'         # CodeClimate Repo token
    # skip-certificate: true                            # Skip validating server SSL certificate

.travis.yml configuration:

script: 'recink run unit -c codeclimate'  
before_install:
  # other before_install scripts...
  - 'npm install -g recink-codeclimate'

Or using the registry:

before_install:
  # other before_install scripts...
  - 'recink component add codeclimate'

Add the CodeClimate Repo Token to .travis.yml:

recink travis encrypt -x 'CODECLIMATE_REPO_TOKEN=1234'

If you are using Travis Pro read this guide to properly encrypt the environment variable

Usage

CODECLIMATE_REPO_TOKEN=1234 recink run unit -c recink-codeclimate
1.5.8

6 years ago

1.5.7

7 years ago

1.5.6

7 years ago

1.5.5

7 years ago

1.5.4

7 years ago

1.5.3

7 years ago

1.5.2

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.3

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago