~rashi007/mailman/docsfix

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[tox]
envlist = py34
recreate = True

[testenv]
commands = python -m nose2 -v
#sitepackages = True
usedevelop = True

# This environment requires you to set up PostgreSQL and create a .cfg file
# somewhere outside of the source tree.
[testenv:pg]
basepython = python3.4
commands = python -m nose2 -v
usedevelop = True
deps = psycopg2

[coverage]
rcfile = {toxinidir}/coverage.ini
rc = --rcfile={[coverage]rcfile}

[testenv:coverage]
basepython = python3.4
commands =
    coverage run {[coverage]rc} -m nose2 -v
    coverage combine {[coverage]rc}
    coverage html {[coverage]rc}
#sitepackages = True
usedevelop = True
whitelist_externals = python-coverage
deps = coverage
setenv =
    COVERAGE_PROCESS_START={[coverage]rcfile}
    COVERAGE_OPTIONS="-p"
    COVERAGE_FILE={toxinidir}/.coverage