wcs/tox.ini

44 lines
955 B
INI
Raw Normal View History

2016-03-29 18:52:09 +02:00
[tox]
2019-09-26 15:25:12 +02:00
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs/{env:BRANCH_NAME:}
envlist = py2-pylint-coverage,py3
2016-03-29 18:52:09 +02:00
[testenv]
2019-09-26 15:25:12 +02:00
sitepackages = true
2016-03-29 18:52:09 +02:00
setenv =
2019-09-26 15:25:12 +02:00
PYTHONPATH={toxinidir}{:}{env:PYTHONPATH:}
PYTHONHASHSEED=0
DJANGO_SETTINGS_MODULE=wcs.settings
WCS_SETTINGS_FILE=tests/settings.py
2019-09-26 15:25:12 +02:00
LC_ALL=C
LC_TIME=C
LANG=C
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov-report html --cov=wcs/ --cov-config .coveragerc -v
2016-03-29 18:52:09 +02:00
passenv =
USER
deps =
py2: pytest
py3: pytest>=3.6,<5
2016-03-29 18:52:09 +02:00
pytest-mock
pytest-cov
2019-09-26 15:25:12 +02:00
pytest-django
2016-03-29 18:52:09 +02:00
WebTest
mechanize
2019-09-26 15:25:12 +02:00
gadjo
2016-03-29 18:52:09 +02:00
pyquery
2019-11-12 18:56:48 +01:00
mock
requests
vobject
qrcode
Pillow
python-magic
docutils
2019-09-26 15:25:12 +02:00
git+https://git.entrouvert.org/debian/django-ckeditor.git
django >=1.11, <1.12
django-ratelimit<3
pyproj
2019-09-26 15:25:12 +02:00
pylint<1.8
py3: Quixote>=3.0
2016-03-29 18:52:09 +02:00
commands =
py.test -v {env:COVERAGE:} {posargs:tests/}
2019-09-26 15:25:12 +02:00
pylint: ./pylint.sh wcs/