mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 01:14:53 +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:
|
||||
- "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:
|
||||
include:
|
||||
- name: "Linter"
|
||||
|
@ -23,6 +15,12 @@ jobs:
|
|||
- "flake8"
|
||||
|
||||
- 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:
|
||||
- postgresql
|
||||
{% if cookiecutter.use_celery == 'y' -%}
|
||||
|
|
Loading…
Reference in New Issue
Block a user