skip to navigation
skip to content

Not Logged In

coveralls-merge 0.0.1

Upload coverage for C extensions to coveralls.io

Latest Version: 0.0.2

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:https://github.com/okkez/coveralls-lcov`_
and
`coveralls:https://github.com/coagulant/coveralls-python`_ to upload
your coverage data to `coveralls:https://coveralls.io`_.

This only supports travis-ci.org.

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:
- "sudo apt-get -qq install lcov"
- "pip install coveralls nose coveralls-merge"
- "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





Changelog
---------

0.0.1 (unreleased)
==================

* Initial upload  
File Type Py Version Uploaded on Size
coveralls-merge-0.0.2.tar.gz (md5) Source 2014-07-31 3KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 384 downloads in the last week
  • 1893 downloads in the last month