Skip to main content

Check coverage at

Project description

Travis Coveralls


A small helper to check for a given commit hash.

Development takes place here:


This was designed for use with Travis CI Build Stages where you want to check code coverage before doing a deployment or release.

A sample .travis.yml using it is as follows:

language: python

sudo: false

  secure: "..."

  - "2.7"
  - "3.6"

  - "pip install --upgrade pip setuptools"
  - "pip install -Ue .[test]"

script: coverage run --source ... -m py.test

  - "COVERALLS_PARALLEL=true coveralls"


    - stage: coverage
      python: 3.6
      after_success: skip

      install: "pip install -U coveralls-check"
      script: "coveralls-check $TRAVIS_COMMIT --parallel-build-number $TRAVIS_BUILD_NUMBER --repo-token $COVERALLS_REPO_TOKEN"

The COVERALLS_REPO_TOKEN is set in the secure section, which can be obtained using:

travis encrypt COVERALLS_REPO_TOKEN=(your coveralls repo token)


1.2.1 (11 Jul 2018)

  • Fix packaging and copyright.

1.2.0 (11 Jul 2018)

  • Add support for Coveralls parallel build stuff.

1.1.0 (14 Sep 2017)

  • Add retrying logic to wait up to 5 minutes, by default, for coveralls coverage data to be ready.

1.0.1 (17 Aug 2017)

  • Fix packaging.

1.0.0 (17 Aug 2017)

  • Initial release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for coveralls-check, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size coveralls_check-1.2.1-py2.py3-none-any.whl (3.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size coveralls-check-1.2.1.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page