Updated Gitlab CI to use Python 3.8 instead of Python 3.7 (#2794)

This commit is contained in:
Arnav Choudhury 2020-09-07 17:58:49 +05:30 committed by GitHub
parent 4659cb9baa
commit 7fb71507d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1463,4 +1463,4 @@ guidance and advice.
- Jannis Leidel - Jannis Leidel
- Nate Aune - Nate Aune
- Barry Morrison - Barry Morrison

View File

@ -13,7 +13,7 @@ variables:
flake8: flake8:
stage: lint stage: lint
image: python:3.7-alpine image: python:3.8-alpine
before_script: before_script:
- pip install -q flake8 - pip install -q flake8
script: script:
@ -21,7 +21,7 @@ flake8:
pytest: pytest:
stage: test stage: test
image: python:3.7 image: python:3.8
{% if cookiecutter.use_docker == 'y' -%} {% if cookiecutter.use_docker == 'y' -%}
image: docker/compose:latest image: docker/compose:latest
tags: tags:
@ -39,7 +39,7 @@ pytest:
tags: tags:
- python - python
services: services:
- postgres:11 - postgres:{{ cookiecutter.postgresql_version }}
variables: variables:
DATABASE_URL: pgsql://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres/$POSTGRES_DB DATABASE_URL: pgsql://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres/$POSTGRES_DB