2018-07-14 10:36:23 +02:00
|
|
|
[tox]
|
2019-05-20 14:07:12 +02:00
|
|
|
envlist = py27-{django18,django111}
|
2018-07-14 10:36:23 +02:00
|
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
usedevelop =
|
|
|
|
coverage: True
|
|
|
|
setenv =
|
|
|
|
DJANGO_SETTINGS_MODULE=welco.settings
|
2019-05-20 14:07:12 +02:00
|
|
|
WELCO_SETTINGS_FILE=tests/settings.py
|
2018-07-14 10:36:23 +02:00
|
|
|
fast: FAST=--nomigrations
|
|
|
|
deps =
|
|
|
|
django18: django>=1.8,<1.9
|
2018-08-10 11:19:26 +02:00
|
|
|
django18: django-taggit<0.23
|
2018-10-30 08:41:15 +01:00
|
|
|
django18: django-reversion<3.0.1
|
2018-07-14 10:36:23 +02:00
|
|
|
django111: django>=1.11,<1.12
|
|
|
|
pytest-cov
|
|
|
|
pytest-django
|
2019-01-06 23:42:57 +01:00
|
|
|
pytest<4.1
|
2018-07-14 10:36:23 +02:00
|
|
|
WebTest
|
|
|
|
mock
|
|
|
|
httmock
|
|
|
|
python-dateutil
|
|
|
|
pylint<1.8
|
2019-05-20 14:07:12 +02:00
|
|
|
pylint-django<0.8.1
|
2019-06-03 14:58:58 +02:00
|
|
|
django-webtest<1.9.5
|
2018-07-14 10:36:23 +02:00
|
|
|
pyquery
|
|
|
|
lxml
|
2019-05-20 11:11:28 +02:00
|
|
|
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
2018-07-14 10:36:23 +02:00
|
|
|
commands =
|
2019-05-20 14:07:12 +02:00
|
|
|
django18: py.test {posargs: --junitxml=test_{envname}_results.xml tests/}
|
|
|
|
django111: ./pylint.sh welco/
|
|
|
|
django111: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=welco/ tests/}
|