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

This commit is contained in:
Sergio Morillo 2021-01-20 00:36:30 +01:00
parent 20a1e30f9c
commit 0b2e74d864
3 changed files with 14 additions and 9 deletions

View File

@ -9,12 +9,13 @@ pipeline:
commands:
- pip install tox
- tox -e "${TOXENV}-${DATABASE}"
volumes:
- /var/lib/cache:/root/.cache
notify:
image: drillster/drone-email
from: drone@localhost
host: smtp
port: 25
from: drone@datalifeit.es
skip_verify: true
secrets: [ email_host, email_port ]
when:
status: [ changed, failure ]
@ -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

View File

@ -62,16 +62,14 @@ dependency_links = {
'production_origin':
'git+https://github.com/nan-tic/'
'trytond-production_origin@%(branch)s'
'#egg=nantic-production_origin-%(series)s' % {
'#egg=nantic-production_origin' % {
'branch': branch,
'series': series,
},
'sale_change_quantity':
'git+https://github.com/nan-tic/'
'trytond-sale_change_quantity@%(branch)s'
'#egg=nantic-sale_change_quantity-%(series)s' % {
'#egg=nantic-sale_change_quantity' % {
'branch': branch,
'series': series,
},
}

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 =