Giter Site home page Giter Site logo

codecov-python's Introduction

Codecov Global Python Uploader codecov.io

https://codecov.io/ @codecov [email protected]

Find coverage reports for all the languages below, gather them and submit them to Codecov.

Codecov Features

  • Reports are automatically combined with no extra setup. Each build is store, seperately and combined.
  • Multiple languages are supported in a single upload and repository.
  • Optionally store environment variables per build

Usage

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

--user argument not needed for Python projects. See example here.

Languages

Python, C#/.net, Java, Node/Javascript/Coffee, C/C++, D, Go, Groovy, Kotlin, PHP, R, Scala, Xtern, Xcode, Lua and more...

Using tox?

Codecov can be ran from inside your tox.ini please make sure you pass all the necessary environment variables through:

[testenv]
passenv = CI TRAVIS_BUILD_ID TRAVIS TRAVIS_BRANCH TRAVIS_JOB_NUMBER TRAVIS_PULL_REQUEST TRAVIS_JOB_ID TRAVIS_REPO_SLUG TRAVIS_COMMIT
deps = codecov>=1.4.0
commands = codecov -e TOXENV

See all the environment variable for other CI providers here

Configuration

Below are most commonly used settings.

Argument Environment Description
-t CODECOV_TOKEN Private repo token for uploading
-e CODECOV_ENV List of config vars to store for the build see example
# public repository on Travis CI
install:
  - pip install --user codecov
after_success:
  - codecov
# private repository on Travis CI
install:
  - pip install --user codecov
after_success:
  - codecov -t :repo-token

CI Providers

Company Supported Token Required
Travis CI Yes Build Status Private only
CircleCI Yes Private only
Codeship Yes Public & Private
Jenkins Yes Public & Private
Semaphore Yes Public & Private
Drone.io Yes Public & Private
AppVeyor Yes Build status Public & Private
Wercker Yes Public & Private
Magnum CI Yes Public & Private
Shippable Yes Public & Private
Gitlab CI Yes Public & Private
Snap CI Yes Public & Private
git / mercurial Yes (as a fallback) Public & Private
Buildbot coming soon buildbot/buildbot#1671
Bamboo coming soon
Solano Labs coming soon

Using Travis CI? Uploader is compatable with sudo: false which can speed up your builds. ๐Ÿ‘

Copyright

Copyright 2014-2015 codecov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.