diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95d9305d..35637457 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:9.6 + - redis:latest cache: key: test paths: