forked from DGNum/gestioCOF
core.ci -- Narrow services to jobs that need them
This commit is contained in:
parent
7f5a442bae
commit
e478beee5c
1 changed files with 3 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue