2016-03-29 11:41:49 +02:00
|
|
|
[tox]
|
2020-04-11 18:30:28 +02:00
|
|
|
envlist = py37-sqlite, stats
|
2016-03-29 11:41:49 +02:00
|
|
|
|
|
|
|
[testenv]
|
2020-04-11 18:30:28 +02:00
|
|
|
basepython=python3.7
|
|
|
|
commands = coverage run setup.py test
|
2016-03-29 11:41:49 +02:00
|
|
|
deps =
|
2017-12-22 10:56:35 +01:00
|
|
|
sqlite: sqlitebck
|
2020-04-11 18:30:28 +02:00
|
|
|
coverage
|
2016-03-29 11:41:49 +02:00
|
|
|
setenv =
|
|
|
|
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
|
|
|
|
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
|
|
|
install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}
|
2020-04-11 18:30:28 +02:00
|
|
|
|
|
|
|
[testenv:stats]
|
|
|
|
basepython=python3.7
|
|
|
|
commands =
|
2020-04-24 05:01:31 +02:00
|
|
|
coverage xml --omit=.tox/*,.eggs/*
|