-
Notifications
You must be signed in to change notification settings - Fork 27
/
tox.ini
46 lines (41 loc) · 908 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
[tox]
envlist = py27,flake8,docs
[base]
deps =
-r{toxinidir}/dev-requirements.txt
-r{toxinidir}/requirements.txt
[testenv:py27]
deps = {[base]deps}
setenv =
FLASK_CONFIGURATION = testing
_AEON_TOPDIR = {toxinidir}
commands =
pytest tests
[testenv:coverage]
deps =
{[base]deps}
coverage
pytest-cov
commands =
pytest --cov=aeon_ztp --cov-report=html tests/
[testenv:coverage_travis]
deps =
{[testenv:coverage]deps}
coveralls
commands =
pytest --cov=aeon_ztp tests/
coveralls
[testenv:docs]
basepython=python
changedir=docs
deps=sphinx
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees ./source {envtmpdir}/html
[testenv:flake8]
deps = flake8
commands = flake8 aeon_ztp tests
[flake8]
# Ignore the following pep8 violations
# E501: 80 character line length limit
# E128: continuation line under-indented for visual indent
ignore = E501, E128