forked from hynek/structlog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
61 lines (51 loc) · 1.07 KB
/
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
59
60
61
[tox]
envlist = py26, py27, py27-green, py32, py33, py33-green, pypy, flake8, docs
[testenv]
deps =
freezegun
pretend
pytest-cov
commands = py.test
[testenv:pypy]
deps =
{[testenv]deps}
twisted
[testenv:py26]
deps =
{[testenv]deps}
twisted
ordereddict
[testenv:py27]
deps =
{[testenv]deps}
twisted
flask
[testenv:py27-green]
basepython = python2.7
deps =
{[testenv:py27]deps}
greenlet
[testenv:py32]
commands = py.test --cov-config=.coveragerc.py3
[testenv:py33]
commands = py.test --cov-config=.coveragerc.py3
[testenv:py33-green]
basepython = python3.3
deps =
{[testenv]deps}
greenlet
commands = py.test --cov-config=.coveragerc.py3
[testenv:flake8]
basepython = python2.7
deps = flake8
commands = flake8 structlog tests
[testenv:docs]
basepython = python2.7
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
sphinx-build -W -b linkcheck docs docs/_build/html