forked from hynek/structlog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
47 lines (41 loc) · 926 Bytes
/
Copy pathtox.ini
File metadata and controls
47 lines (41 loc) · 926 Bytes
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
[tox]
envlist = {py26,py27,py33,py34,py35,pypy}-{threads,greenlets}, flake8-{py2,py3}, docs, manifest
[testenv]
deps =
coverage
py26: ordereddict
greenlets: greenlet
freezegun>=0.2.8
pretend
pytest
twisted
setenv =
PYTHONHASHSEED = 0
threads: TRICKING_TOX_INTO_GENERATING_AN_ENVIRONMENT = 1
commands =
coverage run {envbindir}/py.test tests
coverage report
[testenv:flake8-py2]
deps = flake8
commands =
flake8 structlog tests setup.py
[testenv:flake8-py3]
basepython = py3: python3.5
deps = flake8
commands =
flake8 structlog tests setup.py
[testenv:docs]
setenv =
PYTHONHASHSEED = 0
deps =
releases
sphinx
twisted
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
[testenv:manifest]
deps =
check-manifest
commands =
check-manifest