50fac07e7a
Change-Id: I28f3158c37ebf98ae3a7268e11ef5a15039b1d76
32 lines
729 B
INI
32 lines
729 B
INI
[tox]
|
|
envlist = py27,style
|
|
|
|
[testenv]
|
|
distribute = False
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps =
|
|
# Temporarily force the download location for netaddr because github
|
|
# is being flaky and not letting us get to the download via the
|
|
# registered http-based URL.
|
|
https://github.com/downloads/drkjam/netaddr/netaddr-0.7.10.tar.gz
|
|
-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}
|