Home Tutorials Training Consulting Products Books Company Donate Contact us









Online training

Events

Quick links

Share

This tutorial contains notes about Codecov.

1. Codecov

Codecov is a code coverage tool, which is available for GitHub, Bitbucket and GitLab

2. Setup

Go to https://codecov.io/ and press the Sign in with GitHub button or the one for Bitbucket or GitLab.

codecov sign up

Once the Sign Up button has been pressed a redirection to GitHub will take place in order to authorize Travis CI as application.

codecov authorize

Press Authorize application to authorize Codecov, confirm this with your password and Codecov will ask for repositories to be checked.

Now Codecov should be listed as application in the settings.

github apps

After authorizing Codecov repositories from your either your account or organization can be chosen.

codecov repo select

Press desired Integrate a repository button and then choose a repository, which should be checked for code coverage.

3. Adding a Repository

By clicking on a certain repository or going to the proper URL, e.g., https://codecov.io/gh/{account-name}/{desired-repo} an API token will be shown.

api token

If Travis CI is used the API token is not required.

By pressing on the View example repositories a lot of example for different languages are shown.

4. Codecov resources

5. vogella training and consulting support

Copyright © 2012-2018 vogella GmbH. Free use of the software examples is granted under the terms of the Eclipse Public License 2.0. This tutorial is published under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany license.