From 893e96f8ec2bb7917db90da0df0c90eb46b12678 Mon Sep 17 00:00:00 2001 From: Luna Mendes Date: Tue, 13 Nov 2018 04:01:21 -0300 Subject: [PATCH] .gitlab-ci.yml: add cache related configs taken from gitlab's default python ci config --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1582e6e..bc4fd05 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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