From 58d8ca2a25d7a6766c1e23a60dc1d5b97aabbe92 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 26 Feb 2018 12:58:34 +1100 Subject: [PATCH] Attempt to cache the packages installed by pip and pipenv to dramatically speed up the pipeline --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e670ec4..4db48fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,11 @@ image: python:3.6 variables: GIT_SUBMODULE_STRATEGY: normal +cache: + paths: + - ~/.cache/pip + - ~/.local/share/virtualenvs + test: script: - pip install pipenv