-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (31 loc) · 730 Bytes
/
Copy pathtox.ini
File metadata and controls
35 lines (31 loc) · 730 Bytes
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
# It is convenient to use tox-conda>=0.2.0
# to target multiplt python versions
# ---
# pip install tox-conda>=0.2.0
[tox]
envlist = py35, py36, py37, style, docs
[pytest]
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
serial
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pybdm
deps =
-r{toxinidir}/requirements.txt
commands =
pytest --basetemp={envtmpdir} --slow
[testenv:style]
deps =
-r{toxinidir}/requirements.txt
commands =
pytest --pylint -m pylint
[testenv:docs]
changedir=docs/
deps =
-r{toxinidir}/requirements.txt
sphinx
-r{toxinidir}/docs/requirements.txt
commands =
sphinx-build -b linkcheck ./ _build/
sphinx-build -b html ./ _build/