ensure single version of coverage, fix makefile
This commit is contained in:
2
Makefile
2
Makefile
@@ -8,7 +8,7 @@ test:
|
|||||||
coverage:
|
coverage:
|
||||||
-rm test/.coverage
|
-rm test/.coverage
|
||||||
# can we exclude just the flake8 environment?
|
# can we exclude just the flake8 environment?
|
||||||
tox -e py27-twisted,pypy-twisted,py34-twisted,py34-asyncio,py27-asyncio,pypy-asyncio,py27-twisted13
|
tox -e py27-tw154,pypy-tw154,py34-tw154,py34-asyncio,py27-asyncio,pypy-asyncio,py27-tw132
|
||||||
cd test && coverage combine
|
cd test && coverage combine
|
||||||
cd test && coverage html
|
cd test && coverage html
|
||||||
cd test && coverage report --show-missing
|
cd test && coverage report --show-missing
|
||||||
|
|||||||
4
tox.ini
4
tox.ini
@@ -13,7 +13,7 @@ deps =
|
|||||||
six
|
six
|
||||||
mock
|
mock
|
||||||
pytest
|
pytest
|
||||||
coverage
|
coverage==4.0
|
||||||
|
|
||||||
; twisted dependencies
|
; twisted dependencies
|
||||||
tw121: twisted==12.1.0
|
tw121: twisted==12.1.0
|
||||||
@@ -36,7 +36,7 @@ changedir=test
|
|||||||
usedevelop=true
|
usedevelop=true
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
coverage run --branch --parallel-mode --source=txaio {envbindir}/py.test -s --basetemp={envtmpdir}
|
coverage run --parallel-mode --source=txaio {envbindir}/py.test -s --basetemp={envtmpdir}
|
||||||
|
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
|
|||||||
Reference in New Issue
Block a user