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

This commit is contained in:
Sergio Morillo 2021-01-20 00:09:09 +01:00
parent 2b9212911d
commit 57d41f21b5
3 changed files with 15 additions and 8 deletions

View File

@ -42,3 +42,9 @@ matrix:
- 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

@ -50,15 +50,15 @@ dependency_links = {
'trytond-product_cross_reference@%(branch)s'
'#egg=datalife_product_cross_reference-%(series)s' % {
'branch': branch,
'series': series,
},
'series': series
},
'stock_location_cross_reference':
'git+https://gitlab.com/datalifeit/'
'trytond-stock_location_cross_reference@%(branch)s'
'#egg=datalife_stock_location_cross_reference-%(series)s' % {
'branch': branch,
'series': series,
}
'series': series
},
}
requires = []
@ -73,8 +73,9 @@ requires.append(get_require_version('trytond'))
tests_require = [
get_require_version('proteus'),
'datalife_product_cross_reference',
'datalife_stock_location_cross_reference']
get_require_version('datalife_product_cross_reference'),
get_require_version('datalife_stock_location_cross_reference')
]
dependency_links = list(dependency_links.values())
if minor_version % 2:

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 =