-
Notifications
You must be signed in to change notification settings - Fork 66
/
tox.ini
47 lines (42 loc) · 984 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
[tox]
envlist=py35
[testenv]
sitepackages=True
deps=pytest>=2.3.5
pyyaml
jsonschema
nose
numpy
commands=py.test \
--junitxml={envlogdir}/junit-{envname}.xml {posargs}
setenv=MPLBACKEND=Agg
CUDA_VISIBLE_DEVICES=
[testenv:verbose]
sitepackages=True
deps=pytest>=2.3.5
pyyaml
jsonschema
nose
commands=py.test -vvvv \
--junitxml={envlogdir}/junit-{envname}.xml {posargs}
[testenv:docs]
basepython=python
changedir=docs
deps=sphinx
numpydoc
{[testenv]deps}
commands=py.test -v \
--junitxml={envlogdir}/junit-{envname}.xml \
check_sphinx.py {posargs}
[testenv:cov]
deps=pytest-cov>=1.8.1
{[testenv]deps}
commands=py.test \
--junitxml={envlogdir}/junit-{envname}.xml \
--cov-report html --cov {envsitepackagesdir}/kad tests
[testenv:flakes]
deps=pytest-flakes>=0.2
{[testenv]deps}
commands=py.test \
--junitxml={envlogdir}/junit-{envname}.xml \
--flakes -m flakes kad tests