Add code climate reporting for style and coverage #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Code Climate for reporting code quality of pull requests to the vast project. Code Climate is free to use for public open-source projects.
@chrisdinn this will require you to set up a code climate account. The following are instructions for setting up code climate. This setup must be completed before merging this pull request.
I recommend signing up to Code Climate using your GitHub account. This will make setup easier. You won't have to link your code climate, and Github accounts later.
https://codeclimate.com/login/github/join
Add the vast repo to code climate. Open Source Repos are free in Code Climate.
https://codeclimate.com/github/repos/new
From https://codeclimate.com/github/chrisdinn/vast
Go to Repo Settings -> GitHub
Turn on Summary comments and/or Inline issue comments
Install Webhook on GitHub
From https://codeclimate.com/github/chrisdinn/vast
Go to Repo Settings -> Test coverage
Copy the
Go to https://travis-ci.org/chrisdinn/vast/settings
Under Environment Variables insert
NAME: CC_TEST_REPORTER_ID
VALUE:
BRANCH: All branches
Display value in build logs should be off
Click Add
Optional:
From https://codeclimate.com/github/chrisdinn/vast
Repo Settings -> Badges
Select the Test Coverage Badge RDOC format
Copy the text and add it to the end of the first line in README.rdoc file
Only you can do this because the URL to the badge has a unique id for the repo that only you as the git repo owner can see in the code climate web console.