Skip to content
James Smith edited this page Feb 5, 2015 · 2 revisions

Follow these steps to set up Code Climate in your new repository.

  • Create an account at Code Climate, then login
  • Go to https://codeclimate.com/github/{{ github_user }}/{{ repo_name }}. Click add.
  • Next, head to the homepage of https://codeclimate.com. Hover over the name of the newly-added repository and click 'Settings' (it appears on hover)
  • Grab your token from the Test Coverage section. The token in the example code that they provide is your token.
  • Go to https://travis-ci.org/{{ github_user }}/{{ repo_name }}/settings/env_vars
  • Add your token as an environment variable

That's it! Reports are generated from the master branch, so the first report will be generated after your next commit to master.

Clone this wiki locally