astara/tox.ini

27 lines
490 B
INI

[tox]
envlist = py27,style
[testenv]
distribute = False
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test_requirements.txt
commands = nosetests --with-coverage --cover-package=akanda.rug {posargs}
sitepackages = False
[tox:jenkins]
[testenv:style]
deps = flake8
setuptools_git>=0.4
commands = flake8 akanda setup.py
[testenv:doc]
deps = Sphinx
commands = sphinx-build doc/source doc/build
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
[testenv:venv]
commands = {posargs}