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