-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
52 lines (45 loc) · 795 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
[tox]
envlist =
py27,
py34,
pep257,
pylint,
docs,
cover
[py]
deps = -r{toxinidir}/requirements.txt
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/anydo_api
passenv =
ANYDO_USERNAME
ANYDO_EMAIL
ANYDO_PASSWORD
deps = {[py]deps}
commands = python setup.py test
[testenv:pep257]
deps = pep257
basepython = python3.4
commands = pep257 anydo_api
[testenv:pylint]
deps =
pylint
commands =
pylint anydo_api --rcfile={toxinidir}/.pylintrc
[testenv:docs]
deps =
Sphinx
sphinx_rtd_theme
commands = python setup.py build_sphinx
[testenv:cover]
deps =
{[py]deps}
pytest-cov
basepython = python3.4
commands = py.test --cov anydo_api
[testenv:pep8]
deps =
{[py]deps}
pytest-pep8
basepython = python3.4
commands = pep8 anydo_api