tox.ini 609 Bytes
Newer Older
1
[tox]
2
envlist = {py34,py35,py36,py37}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
3 4 5 6

[testenv]
commands = {envpython} setup.py test
deps =
7 8 9
    {py34,py35,py36,py37}-postgresql: psycopg2 >= 2.5
    pypy3-postgresql: psycopg2cffi >= 2.5
    {py34,py35,py36}-sqlite: sqlitebck
10 11 12 13 14
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}
15
install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}