-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (38 loc) · 902 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
[tox]
envlist = py3
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
DISTUTILS_DEBUG=1
deps = .[pubsub,rabbitmq]
-r requirements-dev.txt
commands = py.test \
--cov=. \
--cov-report html \
--cov-report term
flake8
pip list --outdated
[testenv:pubsub]
setenv =
PYTHONDONTWRITEBYTECODE=1
DISTUTILS_DEBUG=1
deps = .[pubsub]
-r requirements-dev.txt
commands = py.test \
--cov=. \
--cov-report html \
--cov-report term
[testenv:rabbitmq]
setenv =
PYTHONDONTWRITEBYTECODE=1
DISTUTILS_DEBUG=1
deps = .[rabbitmq]
-r requirements-dev.txt
commands = py.test \
--cov=. \
--cov-report html \
--cov-report term
[docs]
setenv = PYTHONDONTWRITEBYTECODE=1
deps = -r requirements-dev.txt
commands = make html