Skip to content

Commit 04c1139

Browse files
committed
Add coverage to coveralls
Fixes: #22
1 parent 249795e commit 04c1139

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ python:
77
- "3.5"
88
- "3.4"
99
- "3.6"
10+
# - "3.7"
1011

1112
install:
1213
- pip install tox-travis
1314

1415
script:
1516
- tox
17+
18+
after_success:
19+
- coveralls --data_file .coverage

README.rst

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
.. image:: http://img.shields.io/travis/retr0h/git-url-parse.svg?style=flat-square
2+
:target: https://travis-ci.org/retr0h/git-url-parse
3+
4+
.. image:: https://img.shields.io/coveralls/github/retr0h/git-url-parse.svg?style=flat-square
5+
:target: https://coveralls.io/github/retr0h/git-url-parse
6+
17
***********
28
giturlparse
39
***********

pytest.ini

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[pytest]
2+
addopts = -v -rxXs --doctest-modules --cov=giturlparse --cov-report term-missing:skip-covered
3+
norecursedirs = dist doc build .tox .eggs
24
testpaths = test/

test-requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ pytest-cov
44
pytest-helpers-namespace
55
pytest-mock
66
yapf==0.21.0
7+
python-coveralls==2.9.1

0 commit comments

Comments
 (0)