Skip to content

Commit 4565195

Browse files
author
Andrew Brookins
committed
Remove unnecessary pytest-cov dep
1 parent 4c6cd16 commit 4565195

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.coveragerc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
source = redis

docker-entry.sh

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ echo "Testing against Redis Server: ${REDIS_MASTER}"
1010

1111
# use the wait-for-it util to ensure the server is running before invoking Tox
1212
util/wait-for-it.sh ${REDIS_MASTER} -- tox -- --redis-url=redis://"${REDIS_MASTER}"/9
13+
tox -e covreport
1314

1415
# if the TRAVIS env var is defined, invoke "codecov"
1516
if [ ! -z ${TRAVIS-} ]; then

tox.ini

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[pytest]
2-
addopts = -s --cov-report=term-missing --cov redis
2+
addopts = -s
33

44
[tox]
55
minversion = 2.4
@@ -10,7 +10,6 @@ deps =
1010
coverage
1111
mock
1212
pytest >= 2.7.0
13-
pytest-cov >= 2.10.0
1413
extras =
1514
hiredis: hiredis
1615
commands =
@@ -48,3 +47,7 @@ passenv =
4847
TRAVIS
4948
TRAVIS_*
5049
VCS_*
50+
51+
[testenv:covreport]
52+
deps = coverage
53+
commands = coverage report

0 commit comments

Comments
 (0)