-
Notifications
You must be signed in to change notification settings - Fork 19
/
tox.ini
37 lines (33 loc) · 822 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
[tox]
envlist = py26, py27, py33, py34, docs-ci
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/abcpmc
deps =
-r{toxinidir}/requirements.txt
pytest-cov
commands =
py.test --basetemp={envtmpdir} --junitxml=junit-{envname}.xml --cov-report xml --cov abcpmc
[testenv:style]
deps =
-r{toxinidir}/requirements.txt
flake8
commands =
python setup.py flake8
[testenv:docs]
changedir=docs/
deps =
-r{toxinidir}/requirements.txt
sphinx
commands =
sphinx-build -b linkcheck ./ _build/
sphinx-build -b html ./ _build/
[testenv:docs-ci]
whitelist_externals = mv
changedir=docs/
deps =
-r{toxinidir}/requirements.txt
pytest-cov
commands=
py.test --tb=line -v --junitxml=junit-{envname}.xml check_sphinx.py --cov-report xml --cov abcpmc
mv coverage.xml ../.