forked from circus-tent/circus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
68 lines (52 loc) · 1.26 KB
/
Copy pathtox.ini
File metadata and controls
68 lines (52 loc) · 1.26 KB
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
66
67
68
[tox]
envlist = py27,flake8,docs,py26,py26-no-gevent,py27-no-gevent,py33,circus-web
[testenv:py32]
deps =
-r{toxinidir}/test-requirements-py3.txt
commands =
python setup.py develop
python -Wdefault -c 'import nose; nose.main()' -x circus/tests
[testenv:py33]
deps =
-r{toxinidir}/test-requirements-py3.txt
commands =
python setup.py develop
python -Wdefault -c 'import nose; nose.main()' -x circus/tests
[testenv:py26]
deps =
-r{toxinidir}/test-requirements-py26.txt
commands =
python setup.py develop
nosetests -x circus/tests
[testenv:py26-no-gevent]
deps =
-r{toxinidir}/test-requirements-py26.txt
commands =
python setup.py develop
nosetests -x circus/tests
[testenv:py27-no-gevent]
deps =
-r{toxinidir}/test-requirements.txt
[testenv]
deps =
-r{toxinidir}/test-requirements.txt
gevent
setenv =
TESTING=1
commands =
python setup.py develop
nosetests --randomize -x --with-coverage --cover-package=circus circus/tests
coverage combine
coverage html
[testenv:docs]
whitelist_externals = make
deps =
sphinx
mozilla-sphinx-theme
commands = make -C docs html
[testenv:flake8]
commands = flake8 circus
[testenv:circus-web]
deps =
-r{toxinidir}/test-requirements.txt
circus-web