skip to navigation
skip to content

coveralls-check 1.1.0

Check coverage at https://coveralls.io

coveralls-check

A small helper to check https://coveralls.io for a given commit hash.

Development takes place here: https://github.com/cjw296/coveralls-check/

Usage

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

python:
  - "2.7"
  - "3.6"

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

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

after_success:
  - coveralls

jobs:
  include:

    - stage: coverage
      python: 3.6
      after_success: skip

      install: "pip install -U coveralls-check"
      script: "coveralls-check $TRAVIS_COMMIT"

Changes

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
 
File Type Py Version Uploaded on Size
coveralls-check-1.1.0.tar.gz (md5) Source 2017-09-14 5KB
coveralls_check-1.1.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-09-14 4KB