forked from DGNum/gestioCOF
Merge branch 'aureplop/ci-move-services' into 'master'
core.ci -- Fix CI (postgres version) + speed up job "linters" See merge request cof-geek/gestioCOF!324
This commit is contained in:
commit
0ba7100110
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:9.6
|
||||||
|
- redis:latest
|
||||||
cache:
|
cache:
|
||||||
key: test
|
key: test
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue