31 lines
639 B
INI
31 lines
639 B
INI
[tox]
|
|
skipsdist = True
|
|
envlist = pg
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs/
|
|
|
|
[testenv]
|
|
setenv =
|
|
PYTHONPATH=.
|
|
coverage: COVERAGE=--junit-xml=test_results.xml --cov=wcs --cov-report xml --cov-config .coveragerc
|
|
passenv =
|
|
USER
|
|
deps =
|
|
pytest
|
|
pytest-mock
|
|
pytest-cov
|
|
pytest-capturelog
|
|
WebTest
|
|
psycopg2
|
|
mechanize
|
|
scgi
|
|
vobject
|
|
pyquery
|
|
http://quixote.ca/releases/Quixote-2.7b2.tar.gz
|
|
qrcode
|
|
python-dateutil
|
|
pillow
|
|
feedparser
|
|
commands =
|
|
pickle: py.test --without-postgresql-tests {env:COVERAGE:} {posargs:tests}
|
|
pg: py.test {env:COVERAGE:} {posargs:tests}
|