forked from Pylons/webtest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
65 lines (55 loc) · 1.01 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
59
60
61
62
63
64
65
[tox]
envlist=py32,py33,py26,py27,pypy,coverage
[testenv]
commands =
{toxinidir}/tests/fixtures/bootstrap.sh
{envbindir}/nosetests --with-xunit --xunit-file=nosetests-{envname}.xml []
{envbindir}/coverage xml -o coverage-{envname}.xml webtest/*.py
setenv =
SELENIUM_DRIVER=firefox
COVERAGE_FILE=.coverage.{envname}
[common]
deps =
webtest[tests]
lxml
pyquery
mock
BeautifulSoup4
PasteDeploy
WSGIProxy2
[PY2]
deps =
unittest2
[PY3]
deps =
unittest2py3k
[testenv:py26]
deps =
{[common]deps}
{[PY2]deps}
[testenv:py27]
deps =
{[common]deps}
{[PY2]deps}
[testenv:pypy]
deps =
{[common]deps}
{[PY2]deps}
[testenv:py32]
deps =
{[common]deps}
{[PY3]deps}
[testenv:py33]
deps =
{[common]deps}
{[PY3]deps}
[testenv:coverage]
deps =
coverage
setenv =
COVERAGE_FILE=.coverage
commands =
{envbindir}/coverage erase
{envbindir}/coverage combine
{envbindir}/coverage xml webtest/*.py
{envbindir}/coverage report --show-missing webtest/*.py