sveitser / example-python

Python coverage example

Home Page:https://codecov.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Example

https://codecov.io/ @codecov hello@codecov.io

Example of how to integrate with Codecov.io for your awesome Python project!

See this repos Coveage Reports

Usage

pip install codecov
codecov --token=<repo token>

Require min coverage

codecov --min-coverage=75

if coverage is under 75 codecov will trigger your build to fail

travis-org Travis C

Append to your .travis.yml

install:
    pip install codecov
after_success:
    codecov

Start testing with Travis

codeship Codeship

Append to your Test Commands after your test commands

pip install codecov
codecov --token=<repo token>

Start testing with Codeship

circleci Circle CI

Append to your circle.yml file

test:
    post:
        - pip install codecov
        - codecov --token=<repo token>

Start testing with Circle CI

About

Python coverage example

https://codecov.io


Languages

Language:Python 100.0%