Updated Gitlab CI to use Python 3.8 instead of Python 3.7
@@ -13,7 +13,7 @@ variables:
flake8:
stage: lint
- image: python:3.7-alpine
+ image: python:3.8-alpine
before_script:
- pip install -q flake8
script:
@@ -21,7 +21,7 @@ flake8:
pytest:
stage: test
- image: python:3.7
+ image: python:3.8
{% if cookiecutter.use_docker == 'y' -%}
image: docker/compose:latest
tags:
@@ -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
