bijoe/tox.ini

34 lines
941 B
INI
Raw 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]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/bijoe/{env:BRANCH_NAME:}
2019-09-16 10:25:57 +02:00
envlist = dj111
[testenv]
usedevelop = true
basepython = python2
setenv =
DJANGO_SETTINGS_MODULE=bijoe.settings
BIJOE_SETTINGS_FILE=tests/settings.py
2017-02-21 22:29:23 +01:00
coverage: COVERAGE=--junit-xml=test_results.xml --cov=bijoe --cov-report xml
deps =
2017-03-10 18:38:44 +01:00
dj111: django>=1.11,<1.12
coverage
pytest
pytest-cov
pytest-django<3.4.6
2018-12-08 12:52:14 +01:00
pytest-freezegun
WebTest
django-webtest<1.9.3
pyquery
tabulate
2020-02-28 18:55:56 +01:00
http://git.entrouvert.org/hobo.git/snapshot/hobo-master.tar.gz
commands =
dj111: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
[pytest]
filterwarnings =
once:.*