forked from hltcoe/concrete-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
32 lines (28 loc) · 739 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
[tox]
envlist = pep8,py35,docs
[testenv]
deps = -r{toxinidir}/test-requirements.txt
commands =
pytest {posargs:tests}
setenv =
PYTHONPATH = {toxinidir}
[testenv:cov]
deps = -r{toxinidir}/test-requirements.txt
commands =
pytest --cov=concrete {posargs:tests}
-coverage xml -o {toxinidir}/coverage.xml
setenv =
PYTHONPATH = {toxinidir}
; see setup.cfg for flake8 configuration
[testenv:pep8]
deps = flake8
commands =
flake8
; see docs/conf.py for sphinx configuration
[testenv:docs]
; There is a bug in sphinx 1.8.0 that causes test failures:
; https://github.com/sphinx-doc/sphinx/issues/5417
deps = sphinx >=1.5.4, !=1.8.0
sphinx_rtd_theme
commands =
sphinx-build -M html {toxinidir}/docs {envtmpdir} -W