wcs/tox.ini

37 lines
860 B
INI

[tox]
envlist = coverage-{django18,django111}-pylint-pg
skipsdist = True
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs/
[testenv]
setenv =
PYTHONPATH=.
DJANGO_SETTINGS_MODULE=wcs.settings
WCS_SETTINGS_FILE=tests/settings.py
coverage: COVERAGE=--junit-xml=test_results.xml --cov=wcs --cov-report xml --cov-config .coveragerc
passenv =
USER
deps =
django18: django>=1.8,<1.9
django111: django>=1.11,<1.12
pytest>=3.3.0
pytest-mock
pytest-cov
WebTest
psycopg2
mechanize
gadjo>=0.53
requests
scgi
vobject
pyquery
http://quixote.python.ca/releases/Quixote-2.7b2.tar.gz
qrcode
python-dateutil
pillow
feedparser
commands =
./getlasso.sh
pickle: py.test --without-postgresql-tests {env:COVERAGE:} {posargs:tests}
pg: py.test {env:COVERAGE:} {posargs:tests}