Codebase list python-txaio / 069c487
run coverage over all environments meejah 9 years ago
2 changed file(s) with 13 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
44 test:
55 tox
66
7 coverage:
8 -rm test/.coverage
9 # can we exclude just the flake8 environment?
10 tox -e py27-twisted,pypy-twisted,py34-twisted,py34-asyncio,py27-asyncio,pypy-asyncio
11 cd test && coverage combine
12 cd test && coverage html
13 cd test && coverage report --show-missing
14
715 docs:
816 cd doc && make html
917
1010 six
1111 mock
1212 pytest
13 pytest-cov
13 coverage
1414 py{26,27,34,py}-twisted: twisted
1515 py{26,27,34,py}-twisted: pytest-twisted
1616 py33-asyncio: asyncio
1818 py26-asyncio: trollius
1919 pypy-asyncio: trollius
2020 changedir=test
21 # this is so that our combined coverage files all have the same paths
22 # for the txaio code; thanks ionelmc on #python
23 usedevelop=true
2124 commands =
22 py.test -s --basetemp={envtmpdir} --cov txaio --cov-report term-missing
23 # coverage report --show-missing
24 # coverage html
25 coverage run -p --source=txaio {envbindir}/py.test -s --basetemp={envtmpdir}
2526
2627 [testenv:flake8]
2728 deps =