Files
tryton/modules/edocument_unece/tox.ini
T

16 lines
501 B
INI
Raw Normal View History

2018-09-01 00:15:20 +02:00
[tox]
2020-12-19 17:08:45 +01:00
envlist = {py36,py37,py38,py39}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
2018-09-01 00:15:20 +02:00
[testenv]
commands = {envpython} setup.py test
deps =
2020-12-19 17:08:45 +01:00
{py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5
2018-09-01 00:15:20 +02:00
pypy3-postgresql: psycopg2cffi >= 2.5
2020-10-24 13:45:10 +02:00
py36-sqlite: sqlitebck
2022-12-17 17:14:49 +01:00
passenv = *
2018-09-01 00:15:20 +02:00
setenv =
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
2022-12-17 17:14:49 +01:00
sqlite: DB_NAME={env:DB_NAME::memory:}
postgresql: DB_NAME={env:DB_NAME:test}