forked from deepgram/kur
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (31 loc) · 750 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
[tox]
envlist = py{34,35,36}-keras{1,2}-theano{08,09},readme,docs
[testenv]
deps=
keras1: keras==1.2.2
keras2: keras>=2.0.0
theano08: theano==0.8.2
theano09: theano>=0.9.0b1
pytest
pytest-xdist
tensorflow
py35: https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.10.post2-cp35-cp35m-linux_x86_64.whl
py36: https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.10.post2-cp36-cp36m-linux_x86_64.whl
commands=
py.test --boxed {posargs}
[testenv:readme]
basepython=python
deps=
rst2html5==1.8.2
commands=
rst2html5 README.rst /dev/null
[testenv:docs]
basepython=python
changedir=docs
deps=
sphinx
sphinx-rtd-theme
commands=
sphinx-build -b html -d {envtmpdir}/doctrees source {envtmpdir}/html
[pytest]
norecursedirs = .* venv build dist