forked from TimSimpsonR/python-proboscis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
59 lines (49 loc) · 1.34 KB
/
tox.ini
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = jython, py26, py27, py33
[testenv:jython]
commands =
{envpython} run_unit_tests.py
{envpython} run_tests.py
[testenv:py26]
deps =
coverage
nose
sphinx
commands =
coverage erase
coverage run -p --source=proboscis run_unit_tests.py
coverage run -p --source=proboscis run_tests.py
coverage combine
coverage html -d {envtmpdir}/covhtml -i
sphinx-build -b html {toxinidir}/docs/source {envtmpdir}/html
[testenv:py27]
deps =
coverage
nose
sphinx
commands =
coverage erase
coverage run -p --source=proboscis run_unit_tests.py
coverage run -p --source=proboscis run_tests.py
coverage combine
coverage html -d {envtmpdir}/covhtml -i
sphinx-build -b html {toxinidir}/docs/source {envtmpdir}/html
[testenv:py33]
deps =
coverage
nose
sphinx
commands =
coverage erase
coverage run -p --source=proboscis run_unit_tests.py
coverage run -p --source=proboscis run_tests.py
coverage combine
coverage html -d {envtmpdir}/covhtml -i
sphinx-build -b html {toxinidir}/docs/source {envtmpdir}/html
#[testenv:ipy]
## To make this work, IRON_PYTHON_PATH must be defined as an absolute path to
## IronPython.
#commands =
# {env:IRON_PYTHON_PATH} run_unit_tests.py
# {env:IRON_PYTHON_PATH} run_tests.py