mirror of https://gitlab.com/litecord/litecord.git
.gitlab-ci.yml: add cache related configs
taken from gitlab's default python ci config
This commit is contained in:
parent
b9ccbbf53b
commit
893e96f8ec
|
|
@ -1,8 +1,15 @@
|
||||||
image: python:3.7-alpine
|
image: python:3.7-alpine
|
||||||
|
|
||||||
|
variables:
|
||||||
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- postgres:alpine
|
- postgres:alpine
|
||||||
|
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- .cache/pip
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
before_script:
|
before_script:
|
||||||
- python -V
|
- python -V
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue