-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathtox.ini
43 lines (32 loc) · 871 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
[tox]
envlist =
{3.4,3.5,3.6}-unit
flake8
pydocstyle
sphinx-doc
[testenv]
deps=
-r{toxinidir}/requirements/default.txt
{3.4,3.5,3.6}-unit: -r{toxinidir}/requirements/test.txt
flake8,flakeplus,pydocstyle: -r{toxinidir}/requirements/codestyle.txt
sphinx-doc: -r{toxinidir}/requirements/documentation.txt
sitepackages = False
recreate = False
commands =
unit: pytest -xv --cov=pywxclient --cov-report=xml
basepython =
3.4: python3.4
3.5: python3.5
3.6: python3.6
flake8,pydocstyle,sphinx-doc: python3.6
[testenv:flake8]
commands =
flake8 {toxinidir}/pywxclient {toxinidir}/examples {toxinidir}/tests
[testenv:pydocstyle]
commands =
pydocstyle {toxinidir}/pywxclient {toxinidir}/examples {toxinidir}/tests
[testenv:sphinx-doc]
whitelist_externals=
cd
commands =
cd {toxinidir}/docs && make html