2018-05-28 23:10:15 +02:00
|
|
|
pipeline:
|
|
|
|
tox:
|
|
|
|
image: ${IMAGE}
|
|
|
|
environment:
|
|
|
|
- CFLAGS=-O0
|
|
|
|
- DB_CACHE=/cache
|
|
|
|
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
|
|
|
|
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
|
|
|
|
commands:
|
|
|
|
- pip install tox
|
|
|
|
- tox -e "${TOXENV}-${DATABASE}"
|
|
|
|
|
|
|
|
services:
|
|
|
|
postgresql:
|
|
|
|
image: postgres
|
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
DATABASE: postgresql
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2020-04-17 17:08:08 +02:00
|
|
|
- IMAGE: kalenis/kalenis-lims-test:3.7
|
2019-02-13 17:07:32 +01:00
|
|
|
TOXENV: py37
|
|
|
|
DATABASE: postgresql
|