combo/tox.ini

36 lines
891 B
INI
Raw Permalink Normal View History

[tox]
2018-06-01 10:16:24 +02:00
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/combo/{env:BRANCH_NAME:}
envlist = py2-django18,coverage-py2-django111-pylint,py3-django111
[testenv]
usedevelop = True
basepython = python2
setenv =
py2: WCSCTL=wcs/wcsctl.py
DJANGO_SETTINGS_MODULE=combo.settings
COMBO_SETTINGS_FILE=tests/settings.py
deps =
django18: django>=1.8,<1.9
django111: django>=1.11,<1.12
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
2018-02-15 10:23:51 +01:00
pylint-django<0.9
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: quixote<3.0
py2: vobject
commands =
./getlasso.sh
python manage.py compilemessages
2018-06-01 10:16:24 +02:00
./get_wcs.sh
django18: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=combo/ tests/}
django18: ./pylint.sh combo/
django111: py.test {posargs: --junitxml=test_{envname}_results.xml tests/}