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

This commit is contained in:
Sergio Morillo 2021-01-20 00:40:48 +01:00
parent 82f7e5b0b1
commit c3ca7f4146
3 changed files with 9 additions and 5 deletions

View file

@ -6,7 +6,6 @@ pipeline:
- DB_CACHE=/cache - DB_CACHE=/cache
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/ - POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
- PYMSSQL_BUILD_WITH_BUNDLED_FREETDS=1
commands: commands:
- pip install tox - pip install tox
- tox -e "${TOXENV}-${DATABASE}" - tox -e "${TOXENV}-${DATABASE}"
@ -43,3 +42,9 @@ matrix:
- IMAGE: python:3.7 - IMAGE: python:3.7
TOXENV: py37 TOXENV: py37
DATABASE: postgresql DATABASE: postgresql
- IMAGE: python:3.8
TOXENV: py38
DATABASE: sqlite
- IMAGE: python:3.8
TOXENV: py38
DATABASE: postgresql

View file

@ -51,9 +51,8 @@ dependency_links = {
'edw': 'edw':
'git+https://gitlab.com/datalifeit/' 'git+https://gitlab.com/datalifeit/'
'trytond-edw@%(branch)s' 'trytond-edw@%(branch)s'
'#egg=datalife_edw-%(series)s' % { '#egg=datalife_edw' % {
'branch': branch, 'branch': branch,
'series': series,
} }
} }

View file

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