add a fast tox.ini (#10473)

This commit is contained in:
Benjamin Dauvergne 2016-03-29 18:52:09 +02:00
parent ec128c0318
commit f6254c65ee
1 changed files with 29 additions and 0 deletions

29
tox.ini Normal file
View File

@ -0,0 +1,29 @@
[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
feedparser
commands =
pickle: py.test --without-postgresql-tests {env:COVERAGE:} {posargs:tests}
pg: py.test {env:COVERAGE:} {posargs:tests}