File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ [run]
2
+ source = redis
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ echo "Testing against Redis Server: ${REDIS_MASTER}"
10
10
11
11
# use the wait-for-it util to ensure the server is running before invoking Tox
12
12
util/wait-for-it.sh ${REDIS_MASTER} -- tox -- --redis-url=redis://" ${REDIS_MASTER} " /9
13
+ tox -e covreport
13
14
14
15
# if the TRAVIS env var is defined, invoke "codecov"
15
16
if [ ! -z ${TRAVIS-} ]; then
Original file line number Diff line number Diff line change 1
1
[pytest]
2
- addopts = -s -- cov-report =term-missing --cov redis
2
+ addopts = -s
3
3
4
4
[tox]
5
5
minversion = 2.4
10
10
coverage
11
11
mock
12
12
pytest >= 2.7.0
13
- pytest-cov >= 2.10.0
14
13
extras =
15
14
hiredis: hiredis
16
15
commands =
@@ -48,3 +47,7 @@ passenv =
48
47
TRAVIS
49
48
TRAVIS_*
50
49
VCS_*
50
+
51
+ [testenv:covreport]
52
+ deps = coverage
53
+ commands = coverage report
You can’t perform that action at this time.
0 commit comments