-
Notifications
You must be signed in to change notification settings - Fork 59
/
tox.ini
58 lines (52 loc) · 889 Bytes
/
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
[tox]
envlist = flake8,py27,py35,docs
[testenv]
setenv =
TESTING=1
PYTHONHASHSEED=random
commands =
python -V
nosetests -x chaussette/tests
deps =
nose
tornado
requests
minimock
meinheld
greenlet
[testenv:py27]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
{[testenv]deps}
Paste
PasteDeploy
unittest2
ws4py
gevent
gevent-websocket
gevent-socketio
eventlet
bjoern
coverage
coveralls
nose-cov
randomize
waitress
commands =
python -V
nosetests --randomize -x --with-coverage --cover-package=chaussette chaussette/tests
-coverage combine
coverage html
-coveralls
[testenv:py35]
deps =
{[testenv]deps}
ws4py
eventlet
waitress
[testenv:docs]
deps = Sphinx
commands = /usr/bin/make docs
[testenv:flake8]
deps = flake8
commands = flake8 chaussette