Use custom image for drone
This commit is contained in:
parent
d1d91c09f3
commit
c2a6d50e39
|
@ -19,6 +19,6 @@ services:
|
|||
|
||||
matrix:
|
||||
include:
|
||||
- IMAGE: python:3.7
|
||||
- IMAGE: kalenis/kalenis-lims-test:3.7
|
||||
TOXENV: py37
|
||||
DATABASE: postgresql
|
||||
|
|
|
@ -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:
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue