"Fix egg on dependency links [SKIP CI]."
This commit is contained in:
parent
2fa14d65df
commit
a6a36fca74
13
.drone.yml
13
.drone.yml
|
@ -9,12 +9,13 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- pip install tox
|
- pip install tox
|
||||||
- tox -e "${TOXENV}-${DATABASE}"
|
- tox -e "${TOXENV}-${DATABASE}"
|
||||||
|
volumes:
|
||||||
|
- /var/lib/cache:/root/.cache
|
||||||
notify:
|
notify:
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
from: drone@localhost
|
from: drone@datalifeit.es
|
||||||
host: smtp
|
|
||||||
port: 25
|
|
||||||
skip_verify: true
|
skip_verify: true
|
||||||
|
secrets: [ email_host, email_port ]
|
||||||
when:
|
when:
|
||||||
status: [ changed, failure ]
|
status: [ changed, failure ]
|
||||||
|
|
||||||
|
@ -40,4 +41,10 @@ matrix:
|
||||||
DATABASE: sqlite
|
DATABASE: sqlite
|
||||||
- IMAGE: python:3.7
|
- IMAGE: python:3.7
|
||||||
TOXENV: py37
|
TOXENV: py37
|
||||||
|
DATABASE: postgresql
|
||||||
|
- IMAGE: python:3.8
|
||||||
|
TOXENV: py38
|
||||||
|
DATABASE: sqlite
|
||||||
|
- IMAGE: python:3.8
|
||||||
|
TOXENV: py38
|
||||||
DATABASE: postgresql
|
DATABASE: postgresql
|
5
setup.py
5
setup.py
|
@ -57,12 +57,11 @@ else:
|
||||||
|
|
||||||
dependency_links = {m: 'git+https://%(url)s/'
|
dependency_links = {m: 'git+https://%(url)s/'
|
||||||
'trytond-%(module)s@%(branch)s'
|
'trytond-%(module)s@%(branch)s'
|
||||||
'#egg=%(company)s_%(module)s-%(series)s' % {
|
'#egg=%(company)s_%(module)s' % {
|
||||||
'url': URL[c],
|
'url': URL[c],
|
||||||
'module': m,
|
'module': m,
|
||||||
'company': c,
|
'company': c,
|
||||||
'branch': branch,
|
'branch': branch}
|
||||||
'series': series}
|
|
||||||
for m, c in MODULE2PREFIX.items()}
|
for m, c in MODULE2PREFIX.items()}
|
||||||
|
|
||||||
requires = []
|
requires = []
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -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 =
|
||||||
|
|
Loading…
Reference in New Issue