"Fix egg on dependency links [SKIP CI]."
This commit is contained in:
parent
d3b34cc59d
commit
7cb85f0c8e
|
@ -3,7 +3,8 @@ pipeline:
|
|||
image: ${IMAGE}
|
||||
environment:
|
||||
- CFLAGS=-O0
|
||||
- TOX_TESTENV_PASSENV=CFLAGS
|
||||
- DB_CACHE=/cache
|
||||
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
|
||||
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
|
||||
commands:
|
||||
- pip install tox
|
||||
|
@ -40,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
|
3
setup.py
3
setup.py
|
@ -48,9 +48,8 @@ else:
|
|||
|
||||
requires = ['tryton_replication @ git+https://gitlab.com/datalifeit/'
|
||||
'tryton_replication@%(branch)s'
|
||||
'#egg=tryton_replication-%(series)s' % {
|
||||
'#egg=tryton_replication' % {
|
||||
'branch': branch,
|
||||
'series': series,
|
||||
}]
|
||||
for dep in info.get('depends', []):
|
||||
if not re.match(r'(ir|res)(\W|$)', dep):
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue