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
|
||||
|
||||
variables:
|
||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||
|
||||
services:
|
||||
- postgres:alpine
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- .cache/pip
|
||||
|
||||
tests:
|
||||
before_script:
|
||||
- python -V
|
||||
|
|
|
|||
Loading…
Reference in New Issue