eopayment/tox.ini

18 lines
545 B
INI
Raw Normal View History

2015-07-16 14:28:39 +02:00
# 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.
2018-03-26 09:32:41 +02:00
[tox]
envlist = py2,py3
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/eopayment/
2015-07-16 14:28:39 +02:00
[testenv]
# django.contrib.auth is not tested it does not work with our templates
commands =
2016-02-01 17:59:01 +01:00
py.test --junitxml=junit.xml --cov-report xml --cov=eopayment/ tests
2015-07-16 14:28:39 +02:00
usedevelop = True
deps = coverage
2016-02-01 17:59:01 +01:00
pytest
pytest-cov