mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +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
|
||||
- Nate Aune
|
||||
- Barry Morrison
|
||||
- Barry Morrison
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user