Use custom image for drone

This commit is contained in:
Sebastián Marró 2020-04-17 12:08:08 -03:00
parent d1d91c09f3
commit c2a6d50e39
3 changed files with 5 additions and 5 deletions

View File

@ -19,6 +19,6 @@ services:
matrix:
include:
- IMAGE: python:3.7
- IMAGE: kalenis/kalenis-lims-test:3.7
TOXENV: py37
DATABASE: postgresql

View File

@ -14,7 +14,7 @@ These instructions will get you a copy of the project up and running.
Execute:
pip install kalenislims
pip install kalenis-lims
Once installed you have to setup the server with this command:

View File

@ -1,12 +1,12 @@
[tox]
envlist = {py35,py36,py37}-{postgresql},pypy3-{postgresql}
envlist = {py35,py36,py37,py38}-{postgresql},pypy3-{postgresql}
[testenv]
commands = {envpython} setup.py test
deps =
{py35,py36,py37}-postgresql: psycopg2 >= 2.5
{py35,py36,py37,py38}-postgresql: psycopg2 >= 2.5
pypy3-postgresql: psycopg2cffi >= 2.5
setenv =
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
install_command = pip install --pre {opts} {packages}
install_command = pip install --pre {opts} {packages}