Upload coverage for C extensions to coveralls.io
Project description
Coveralls-merge
Get coverage data on Python C extensions, on both the python side and the C side of the api. The package combines the output from coverage-lcov and coveralls to upload your coverage data to coveralls.io.
This only supports travis-ci.
Usage
Setup coveralls, and make sure that it’s working with coveralls.io for the python portion. Then, to add c coverage, add a few lines to your .travis.yml:
python: - 2.7 install: # install lcov - "sudo apt-get -qq install lcov" # install test runners, coveralls, and coveralls-merge - "pip install coveralls nose coveralls-merge" # install the lcov parser - "gem install coveralls-lcov" script: - coverage erase - python setup.py clean # build, using coverage flag - CFLAGS="-coverage" python setup.py build_ext --inplace # run your tests, with coverage as normal - coverage run -m nose Tests/test_*.py after_success: # combine and generate json - lcov --capture --directory . -b . --output-file coverage.info - coveralls-lcov -v -n coverage.info > coverage.c.json # upload - coveralls-merge coverage.c.json
Changelog
0.0.3 (2018-01-25)
Strip parameter to strip leading directories in site-packages from path
0.0.2 (2014-07-30)
Requests fix
Doc Changes
0.0.1 (2014-07-30)
Initial upload
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
coveralls-merge-0.0.3.tar.gz
(4.8 kB
view details)
File details
Details for the file coveralls-merge-0.0.3.tar.gz
.
File metadata
- Download URL: coveralls-merge-0.0.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e7662e9960bb375528e35c4aa54e96467c2cfb8de32e5918ee2ce0de84be06f |
|
MD5 | 6dd2aa747e702fdd59438c96dea23239 |
|
BLAKE2b-256 | 1f4aaf2413b78ba9361a3e18a58788e745c89772325b100d62a3bc217c295f15 |