combo/tox.ini

39 lines
908 B
INI
Raw Normal View History

[tox]
2018-06-01 10:16:24 +02:00
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/combo/{env:BRANCH_NAME:}
envlist = coverage-py2-pylint,py3
[testenv]
usedevelop = True
setenv =
py2: WCS_MANAGE=wcs/wcsctl.py
DJANGO_SETTINGS_MODULE=combo.settings
COMBO_SETTINGS_FILE=tests/settings.py
coverage: COVERAGE=--cov-report xml --cov-report html --cov=combo/
deps =
django>=1.11,<1.12
pywebpush
pytest-cov
pytest-django
2018-03-24 02:09:52 +01:00
pytest-freezegun
2018-11-14 18:37:33 +01:00
pytest<4
WebTest
mock
httmock
pylint<1.8
pylint-django<0.8.1
2018-05-04 15:43:18 +02:00
django-webtest<1.9.3
2018-06-01 10:16:24 +02:00
psycopg2
django-mellon
py2: django-jsonfield<1.3
py2: quixote<3.0
py2: vobject
py2: django-ratelimit<3
git+http://git.entrouvert.org/debian/django-ckeditor.git
commands =
2019-08-18 11:51:08 +02:00
py2: ./getlasso.sh
2019-08-18 13:50:54 +02:00
py3: ./getlasso3.sh
2019-08-18 11:51:08 +02:00
py2: ./get_wcs.sh
python manage.py compilemessages
py.test {env:COVERAGE:} {posargs: --junitxml=test_{envname}_results.xml tests/}
pylint: ./pylint.sh combo/