forked from IDSIA/brainstorm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
51 lines (45 loc) · 819 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
[tox]
envlist = py27, py32, py34, flake8, pep8
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/brainstorm
deps =
-rrequirements.txt
pytest
commands =
py.test --basetemp={envtmpdir}
[testenv:flake8]
basepython=python
deps=
flake8
pep8-naming
mccabe
# flake8-docstrings
commands=
flake8 --max-complexity 8 brainstorm
[testenv:pep8]
basepython=python
deps=
-rrequirements.txt
pytest
pytest-pep8
commands=
py.test --pep8 -m pep8
[testenv:docs]
changedir=docs/
deps =
-r{toxinidir}/requirements.txt
sphinx
commands =
sphinx-build -b linkcheck ./ _build/
sphinx-build -b html ./ _build/
[testenv:coverage]
basepython=python
deps=
pytest-cov
python-coveralls
commands=
py.test \
--cov sacred \
{posargs}
coveralls