Full test suite passes.
[mailman.git] / tox.ini
blob616779d83413770f9d76c2ba3a5367cae3d633fe
1 [tox]
2 envlist = py34
3 recreate = True
5 [testenv]
6 commands = python -m nose2 -v
7 #sitepackages = True
8 usedevelop = True
10 # This environment requires you to set up PostgreSQL and create a .cfg file
11 # somewhere outside of the source tree.
12 [testenv:pg]
13 basepython = python3.4
14 commands = python -m nose2 -v
15 usedevelop = True
16 deps = psycopg2
18 [coverage]
19 rcfile = {toxinidir}/coverage.ini
20 rc = --rcfile={[coverage]rcfile}
22 [testenv:coverage]
23 basepython = python3.4
24 commands =
25 coverage run {[coverage]rc} -m nose2 -v
26 coverage combine {[coverage]rc}
27 coverage html {[coverage]rc}
28 #sitepackages = True
29 usedevelop = True
30 whitelist_externals = python-coverage
31 deps = coverage
32 setenv =
33 COVERAGE_PROCESS_START={[coverage]rcfile}
34 COVERAGE_OPTIONS="-p"
35 COVERAGE_FILE={toxinidir}/.coverage