diff --git a/.travis.yml b/.travis.yml index c810131..0645f0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,9 @@ script: - "python setup.py test" install: - "pip install setuptools" +before_install: + - "pip install coverage" + - "pip install pytest-cov==2.5.0" + - "pip install python-coveralls" +after_success: + - coveralls diff --git a/README.md b/README.md index 8772cdb..e7cb2b1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.com/iluvcapra/pycmx.svg?branch=master)](https://travis-ci.com/iluvcapra/pycmx) +[![Coverage Status](https://coveralls.io/repos/github/iluvcapra/pycmx/badge.svg?branch=master)](https://coveralls.io/github/iluvcapra/pycmx?branch=master) [![Documentation Status](https://readthedocs.org/projects/pycmx/badge/?version=latest)](https://pycmx.readthedocs.io/en/latest/?badge=latest) ![](https://img.shields.io/github/license/iluvcapra/pycmx.svg) ![](https://img.shields.io/pypi/pyversions/pycmx.svg) [![](https://img.shields.io/pypi/v/pycmx.svg)](https://pypi.org/project/pycmx/) ![](https://img.shields.io/pypi/wheel/pycmx.svg)