From e478beee5cf39e1f454c731d0166bcb5bf3db0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Sun, 21 Oct 2018 12:13:03 +0200 Subject: [PATCH] core.ci -- Narrow services to jobs that need them --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95d9305d..0a0e501f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,5 @@ image: "python:3.5" -services: - - postgres:latest - - redis:latest - variables: # GestioCOF settings DJANGO_SETTINGS_MODULE: "cof.settings.prod" @@ -37,6 +33,9 @@ test: - coverage run manage.py test after_script: - coverage report + services: + - postgres:latest + - redis:latest cache: key: test paths: