Made gitlab-ci use the same postgresql version as the user selected at project creation time.

This commit is contained in:
Arnav Choudhury 2020-09-05 11:29:54 +05:30
parent fbc6e75cac
commit 4410d9ea38

View File

@ -39,7 +39,7 @@ pytest:
tags:
- python
services:
- postgres:11
- postgres:{{ cookiecutter.postgresql_version }}
variables:
DATABASE_URL: pgsql://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres/$POSTGRES_DB