-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (29 loc) · 725 Bytes
/
tox.ini
File metadata and controls
32 lines (29 loc) · 725 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
[tox]
envlist={py38}-torch{10,11,14,17,latest},release,docs
skipsdist=True
[testenv]
passenv=LC_ALL, LANG, HOME
commands=pytest --cov=memcnn --cov-report=html --cov-report=xml --junitxml=test-reports/junit.xml
deps=
pip==19.1.1
numpy
SimpleITK
tqdm
pytest
pytest-cov
torch14: torch==1.4.0
torch14: torchvision==0.5.0
torch17: torch==1.7.0
torch17: torchvision==0.8.1
torchlatest: torch
torchlatest: torchvision
[testenv:release]
deps=
bumpversion
commands=bumpversion --dry-run minor
# generate the sphinx doc
[testenv:docs]
basepython=python
changedir=docs
deps=-rdocsRequirements.txt
commands=sphinx-build -b linkcheck -b html -d {envtmpdir}/doctrees . {envtmpdir}/html