bijoe/tox.ini

30 lines
809 B
INI
Raw Permalink Normal View History

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
2016-06-20 16:39:33 +02:00
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/bijoe/
2018-01-03 15:45:46 +01:00
envlist = dj18,dj111
[testenv]
usedevelop = true
setenv =
DJANGO_SETTINGS_MODULE=bijoe.settings
2017-02-21 22:29:23 +01:00
coverage: COVERAGE=--junit-xml=test_results.xml --cov=bijoe --cov-report xml
deps =
dj18: django>=1.8,<1.9
2017-03-10 19:23:08 +01:00
dj19: django>=1.9,<1.10
dj110: django>=1.10,<1.11
2017-03-10 18:38:44 +01:00
dj111: django>=1.11,<1.12
dj18,dj19,dj110: Django-Select2>=5
coverage
pytest
pytest-cov
pytest-random
2018-05-04 18:01:45 +02:00
pytest-django
WebTest
2018-05-04 18:01:45 +02:00
dj18,dj19,dj110: django-webtest<1.9.3
commands =
py.test {env:COVERAGE:} {posargs:--nomigrations --random tests}