33 lines
769 B
INI
33 lines
769 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
|
|
downloadcache = {toxworkdir}/_downloads
|
|
|
|
[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}
|