2016-05-12 21:31:16 +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.
|
|
|
|
|
|
|
|
[tox]
|
2018-09-07 14:33:32 +02:00
|
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/bijoe/{env:BRANCH_NAME:}
|
2019-09-16 10:25:57 +02:00
|
|
|
envlist = dj111
|
2016-05-12 21:31:16 +02:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
usedevelop = true
|
2018-09-07 14:33:32 +02:00
|
|
|
basepython = python2
|
2016-05-12 21:31:16 +02:00
|
|
|
setenv =
|
2016-07-14 10:21:00 +02:00
|
|
|
DJANGO_SETTINGS_MODULE=bijoe.settings
|
2019-01-14 12:30:08 +01:00
|
|
|
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
|
2016-05-12 21:31:16 +02:00
|
|
|
deps =
|
2017-03-10 18:38:44 +01:00
|
|
|
dj111: django>=1.11,<1.12
|
2016-05-12 21:31:16 +02:00
|
|
|
coverage
|
|
|
|
pytest
|
|
|
|
pytest-cov
|
2019-02-03 19:14:01 +01:00
|
|
|
pytest-django<3.4.6
|
2018-12-08 12:52:14 +01:00
|
|
|
pytest-freezegun
|
2016-07-14 10:21:00 +02:00
|
|
|
WebTest
|
2018-09-07 14:33:32 +02:00
|
|
|
django-webtest<1.9.3
|
2018-10-25 16:32:50 +02:00
|
|
|
pyquery
|
2019-11-30 03:52:14 +01:00
|
|
|
tabulate
|
2020-02-28 18:55:56 +01:00
|
|
|
http://git.entrouvert.org/hobo.git/snapshot/hobo-master.tar.gz
|
2016-05-12 21:31:16 +02:00
|
|
|
commands =
|
2018-11-09 11:36:56 +01:00
|
|
|
dj111: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
|
2018-12-06 17:27:25 +01:00
|
|
|
[pytest]
|
|
|
|
filterwarnings =
|
|
|
|
once:.*
|