91 lines
1.6 KiB
INI
91 lines
1.6 KiB
INI
[tox]
|
|
setupdir = ..
|
|
|
|
[testenv]
|
|
commands =
|
|
{envbindir}/coverage erase
|
|
{envbindir}/coverage run --branch --include=*compressor* --omit=*test*,*rjsmin*,*cssmin*,*stringformat*,*models* {envbindir}/django-admin.py test {posargs:tests} --settings=tests.settings
|
|
{envbindir}/coverage report
|
|
{envbindir}/coverage html -d {envtmpdir}
|
|
python -c "print('Type the following to open the coverage report: python -m webbrowser -t file://{envtmpdir}/index.html')"
|
|
downloadcache = {toxworkdir}/_download/
|
|
distribute = false
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}/..
|
|
|
|
|
|
[testenv:docs]
|
|
changedir = ../docs
|
|
deps =
|
|
Sphinx
|
|
commands =
|
|
make clean
|
|
make html
|
|
|
|
[testenv:py25-1.2.X]
|
|
basepython = python2.5
|
|
deps =
|
|
unittest2
|
|
BeautifulSoup==3.2.0
|
|
html5lib
|
|
coverage
|
|
mock
|
|
jinja2
|
|
django==1.2.5
|
|
|
|
[testenv:py26-1.2.X]
|
|
basepython = python2.6
|
|
deps =
|
|
unittest2
|
|
BeautifulSoup==3.2.0
|
|
html5lib
|
|
coverage
|
|
mock
|
|
jinja2
|
|
django==1.2.5
|
|
|
|
[testenv:py27-1.2.X]
|
|
basepython = python2.7
|
|
deps =
|
|
unittest2
|
|
BeautifulSoup==3.2.0
|
|
html5lib
|
|
coverage
|
|
mock
|
|
jinja2
|
|
django==1.2.5
|
|
|
|
|
|
[testenv:py25-1.3.X]
|
|
basepython = python2.5
|
|
deps =
|
|
unittest2
|
|
BeautifulSoup==3.2.0
|
|
html5lib
|
|
coverage
|
|
mock
|
|
jinja2
|
|
django==1.3
|
|
|
|
[testenv:py26-1.3.X]
|
|
basepython = python2.6
|
|
deps =
|
|
unittest2
|
|
BeautifulSoup==3.2.0
|
|
html5lib
|
|
coverage
|
|
mock
|
|
jinja2
|
|
django==1.3
|
|
|
|
[testenv:py27-1.3.X]
|
|
basepython = python2.7
|
|
deps =
|
|
unittest2
|
|
BeautifulSoup==3.2.0
|
|
html5lib
|
|
coverage
|
|
mock
|
|
jinja2
|
|
django==1.3
|