Skip to main content

Check coverage at https://coveralls.io

Project description

Travis Coveralls

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.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.

Source Distribution

coveralls-check-1.0.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

coveralls_check-1.0.0-py2.py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page