Skip to content

Commit 22c6046

Browse files
committed
Add Coveralls README badge and Travis CI invocation.
1 parent c64ed72 commit 22c6046

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ python:
88
cache: pip
99
install:
1010
- pip install pylint
11-
- pip install coverage
11+
- pip install coveralls
1212
- pip install .
1313
script:
1414
- pylint published
1515
- nosetests
16+
after_success:
17+
- coveralls

README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ published
44

55
Python library that serves as an example/template for a package publishing guide.
66

7-
|pypi| |travis|
7+
|pypi| |travis| |coveralls|
88

99
.. |pypi| image:: https://badge.fury.io/py/published.svg
1010
:target: https://badge.fury.io/py/published
@@ -13,6 +13,9 @@ Python library that serves as an example/template for a package publishing guide
1313
.. |travis| image:: https://travis-ci.com/python-supply/published.svg?branch=master
1414
:target: https://travis-ci.com/python-supply/published
1515

16+
.. |coveralls| image:: https://coveralls.io/repos/github/python-supply/published/badge.svg?branch=master
17+
:target: https://coveralls.io/github/python-supply/published?branch=master
18+
1619
Purpose
1720
-------
1821
This library is an illustration of the various tasks and components involved in the process of publishing a small open-source Python package on PyPI, including establishment of linting standards, implementation of unit tests, measurement of coverage, and basic continuous integration.

0 commit comments

Comments
 (0)