1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
[tox]
envlist=py{27,3}{,-opencl,-tf},docs
[testenv:docs]
deps=
{[testenv]deps}
-rtests/docs-requirements.txt
commands=
python setup.py build_sphinx
[testenv:python3]
basepython=python3
[testenv]
deps=
-rtests/requirements.txt
commands=
# We can't list these in deps since pyopencl moans if numpy is not
# fully installed at pip-install time.
py{27,3}-opencl: pip install -rtests/opencl-requirements.txt
py{27,3}-tf: pip install -rtests/tf-requirements.txt
py.test --cov=dtcwt/ --cov-report=term {posargs}
|