.gitlab-ci.yml: add cache related configs

taken from gitlab's default python ci config
This commit is contained in:
Luna Mendes 2018-11-13 04:01:21 -03:00
parent b9ccbbf53b
commit 893e96f8ec
1 changed files with 7 additions and 0 deletions

View File

@ -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