mirror of
https://gitlab.com/datalifeit/trytond-staff_workplace
synced 2023-12-14 04:42:58 +01:00
15 lines
No EOL
536 B
INI
15 lines
No EOL
536 B
INI
[tox]
|
|
envlist = {py36,py37}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
|
|
|
|
[testenv]
|
|
commands = {envpython} setup.py test
|
|
deps =
|
|
{py36,py37}-postgresql: psycopg2 >= 2.5
|
|
pypy3-postgresql: psycopg2cffi >= 2.5
|
|
{py36}-sqlite: sqlitebck
|
|
setenv =
|
|
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
|
|
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
|
|
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
|
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
|
|
install_command = pip install --pre {opts} {packages} |