diff --git a/.drone.yml b/.drone.yml index dfc0e23..de4821e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file diff --git a/setup.py b/setup.py index 5828204..de99c93 100644 --- a/setup.py +++ b/setup.py @@ -57,12 +57,11 @@ else: dependency_links = {m: 'git+https://%(url)s/' 'trytond-%(module)s@%(branch)s' - '#egg=%(company)s_%(module)s-%(series)s' % { + '#egg=%(company)s_%(module)s' % { 'url': URL[c], 'module': m, 'company': c, - 'branch': branch, - 'series': series} + 'branch': branch} for m, c in MODULE2PREFIX.items()} requires = [] diff --git a/tox.ini b/tox.ini index 8c73716..da952cd 100644 --- a/tox.ini +++ b/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 =