mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-13 09:32:26 +03:00
Updated Gitlab CI to use Python 3.8 instead of Python 3.7 (#2794)
This commit is contained in:
parent
4659cb9baa
commit
7fb71507d2
|
@ -1463,4 +1463,4 @@ guidance and advice.
|
||||||
|
|
||||||
- Jannis Leidel
|
- Jannis Leidel
|
||||||
- Nate Aune
|
- Nate Aune
|
||||||
- Barry Morrison
|
- Barry Morrison
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user