mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 09:24:52 +03:00
Move env back to Django Test build in Travis
This commit is contained in:
parent
2e88782156
commit
36d446dcf1
|
@ -6,14 +6,6 @@ cache: pip
|
||||||
python:
|
python:
|
||||||
- "3.8"
|
- "3.8"
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- USE_DOCKER="no"
|
|
||||||
- DATABASE_URL="postgres:///{{ cookiecutter.project_slug }}"
|
|
||||||
{% if cookiecutter.use_celery == 'y' -%}
|
|
||||||
- CELERY_BROKER_URL="redis://localhost:6379/0"
|
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- name: "Linter"
|
- name: "Linter"
|
||||||
|
@ -23,6 +15,12 @@ jobs:
|
||||||
- "flake8"
|
- "flake8"
|
||||||
|
|
||||||
- name: "Django Test"
|
- name: "Django Test"
|
||||||
|
env:
|
||||||
|
- USE_DOCKER="no"
|
||||||
|
- DATABASE_URL="postgres:///{{ cookiecutter.project_slug }}"
|
||||||
|
{% if cookiecutter.use_celery == 'y' -%}
|
||||||
|
- CELERY_BROKER_URL="redis://localhost:6379/0"
|
||||||
|
{%- endif %}
|
||||||
services:
|
services:
|
||||||
- postgresql
|
- postgresql
|
||||||
{% if cookiecutter.use_celery == 'y' -%}
|
{% if cookiecutter.use_celery == 'y' -%}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user