Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 1.46 KB

File metadata and controls

64 lines (45 loc) · 1.46 KB

Python Example

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

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

See this repo's Coverage 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