-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (44 loc) · 841 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
[tox]
envlist =
pep8,
coverage-erase,
py35{,-csodium,-pysodium},
coverage-report,
doc,
[testenv:coverage-erase]
deps =
coverage==4.1
commands =
coverage erase
[testenv:coverage-report]
deps =
coverage==4.1
commands =
coverage combine
coverage report --fail-under=100 -m
coverage html
[testenv:pep8]
deps =
flake8==2.5.0
pep8-naming==0.3.3
commands =
flake8 azmq tests
[testenv:doc]
deps =
Sphinx==1.3.5
sphinx_rtd_theme==0.1.9
babel==2.2.0
commands =
sphinx-build -b doctest -W doc/source doc/build/html
sphinx-build -b html -W doc/source doc/build/html
[testenv]
usedevelop = True
deps =
-rdev_requirements.txt
csodium: -e.[csodium]
pysodium: -e.[pysodium]
commands =
coverage run -a --source=azmq -m py.test tests
[pytest]
log_format = %(asctime)s %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S