41 lines
953 B
INI
41 lines
953 B
INI
[tox]
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/combo/{env:BRANCH_NAME:}
|
|
envlist = coverage-py2-pylint,py3
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv =
|
|
WCS_MANAGE={toxworkdir}/wcs/wcsctl.py
|
|
DJANGO_SETTINGS_MODULE=combo.settings
|
|
COMBO_SETTINGS_FILE=tests/settings.py
|
|
TOX_WORK_DIR={toxworkdir}
|
|
coverage: COVERAGE=--cov-report xml --cov-report html --cov=combo/
|
|
deps =
|
|
django>=1.11,<1.12
|
|
pywebpush
|
|
pytest-cov
|
|
pytest-django
|
|
pytest-freezegun
|
|
pytest!=5.3.3
|
|
WebTest
|
|
mock
|
|
httmock
|
|
pylint<1.8
|
|
pylint-django<0.8.1
|
|
django-webtest<1.9.3
|
|
psycopg2
|
|
django-mellon>=1.13
|
|
py2: django-jsonfield<1.3
|
|
py2: quixote<3.0
|
|
py3: quixote>=3.0
|
|
vobject
|
|
django-ratelimit<3
|
|
git+http://git.entrouvert.org/debian/django-ckeditor.git
|
|
commands =
|
|
py2: ./getlasso.sh
|
|
py3: ./getlasso3.sh
|
|
./get_wcs.sh
|
|
python manage.py compilemessages
|
|
py.test {env:COVERAGE:} {posargs: --junitxml=junit-{envname}.xml tests/}
|
|
pylint: ./pylint.sh combo/
|