Skip to content

Commit c64ed72

Browse files
committed
Add Travis CI build configuration and README badge.
1 parent 332c371 commit c64ed72

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
notifications:
2+
email:
3+
on_success: never
4+
on_failure: always
5+
language: python
6+
python:
7+
- "3.8"
8+
cache: pip
9+
install:
10+
- pip install pylint
11+
- pip install coverage
12+
- pip install .
13+
script:
14+
- pylint published
15+
- nosetests

README.rst

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

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

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

99
.. |pypi| image:: https://badge.fury.io/py/published.svg
1010
:target: https://badge.fury.io/py/published
1111
:alt: PyPI version and link.
1212

13+
.. |travis| image:: https://travis-ci.com/python-supply/published.svg?branch=master
14+
:target: https://travis-ci.com/python-supply/published
15+
1316
Purpose
1417
-------
1518
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)