"Fix egg on dependency links [SKIP CI]."

This commit is contained in:
Sergio Morillo 2021-01-20 00:44:13 +01:00
parent 8a5be0af98
commit af5f70b0eb
3 changed files with 10 additions and 5 deletions

View file

@ -41,4 +41,10 @@ matrix:
DATABASE: sqlite
- IMAGE: python:3.7
TOXENV: py37
DATABASE: postgresql
- IMAGE: python:3.8
TOXENV: py38
DATABASE: sqlite
- IMAGE: python:3.8
TOXENV: py38
DATABASE: postgresql

View file

@ -52,10 +52,9 @@ else:
dependency_links = {m: 'git+https://gitlab.com/datalifeit/'
'trytond-%(module)s@%(branch)s'
'#egg=datalife_%(module)s-%(series)s' % {
'#egg=datalife_%(module)s' % {
'module': m,
'branch': branch,
'series': series}
'branch': branch}
for m in list(MODULE2PREFIX.keys())}
requires = []

View file

@ -1,10 +1,10 @@
[tox]
envlist = {py36,py37}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
envlist = {py36,py37,py38}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
[testenv]
commands = {envpython} setup.py test
deps =
{py36,py37}-postgresql: psycopg2 >= 2.5
{py36,py37,py38}-postgresql: psycopg2 >= 2.5
pypy3-postgresql: psycopg2cffi >= 2.5
{py36}-sqlite: sqlitebck
setenv =