kalenislims/tox.ini

13 lines
407 B
INI
Raw Normal View History

2018-05-28 23:10:15 +02:00
[tox]
2021-09-23 00:51:25 +02:00
envlist = {py36,py37,py38,py39}-{postgresql},pypy3-{postgresql}
2018-05-28 23:10:15 +02:00
[testenv]
commands = {envpython} setup.py test
deps =
2021-09-23 00:51:25 +02:00
{py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5
pypy3-postgresql: psycopg2cffi >= 2.5
2018-05-28 23:10:15 +02:00
setenv =
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
2020-04-17 17:08:08 +02:00
install_command = pip install --pre {opts} {packages}