Check coverage at https://coveralls.io
Project description
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
env:
secure: "..."
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_PARALLEL=true coveralls"
jobs:
include:
- 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)
Changes
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coveralls-check-1.2.1.tar.gz.
File metadata
- Download URL: coveralls-check-1.2.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eedf187efa5f3acdb52ab68893fe056a055d96a0c2e873efe8d439a7063e8839
|
|
| MD5 |
e689d29551c5d00c64114e8bbfd9c299
|
|
| BLAKE2b-256 |
12b26c065a3836cccbc64a4406b95626ddef5d1c5085577396a122abec0fdbe6
|
File details
Details for the file coveralls_check-1.2.1-py2.py3-none-any.whl.
File metadata
- Download URL: coveralls_check-1.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec4bb0148feedb6538a9f26776cfaef649ec46ba7ff803e333c197f0f2053e63
|
|
| MD5 |
f44ee83053490accc9a5dd1da53c05bf
|
|
| BLAKE2b-256 |
842ee632512fff3bfacf6b1bf8d0fad8005c0b09e525463be4269e49967fa1a9
|