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"
|
image: "python:3.5"
|
||||||
|
|
||||||
services:
|
|
||||||
- postgres:latest
|
|
||||||
- redis:latest
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
# GestioCOF settings
|
# GestioCOF settings
|
||||||
DJANGO_SETTINGS_MODULE: "cof.settings.prod"
|
DJANGO_SETTINGS_MODULE: "cof.settings.prod"
|
||||||
|
@ -37,6 +33,9 @@ test:
|
||||||
- coverage run manage.py test
|
- coverage run manage.py test
|
||||||
after_script:
|
after_script:
|
||||||
- coverage report
|
- coverage report
|
||||||
|
services:
|
||||||
|
- postgres:latest
|
||||||
|
- redis:latest
|
||||||
cache:
|
cache:
|
||||||
key: test
|
key: test
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue