Skip to content
This repository was archived by the owner on Feb 28, 2019. It is now read-only.

Commit d887509

Browse files
committed
testing if py.test can generate coveralls too
1 parent 975abb8 commit d887509

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ install:
77
pip install -r requirements-test.txt
88
script:
99
- py.test --doctest-modules aptdetector tests
10-
- coverage run --source aptdetector -m py.test
10+
- py.test --cov=aptdetector tests/
1111
after_success:
1212
coveralls

requirements-test.txt

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ requests
88
validators
99
bs4
1010
coveralls
11+
pytest-cov

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
55
deps = -rrequirements-test.txt
66
commands =
77
py.test --doctest-modules aptdetector tests
8-
coverage run --source=aptdetector setup.py test
8+
py.test --cov=aptdetector tests/
99
coveralls
1010

0 commit comments

Comments
 (0)