aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-07-29 09:40:50 +0000
committerGravatar Leon Sandøy <[email protected]>2018-07-29 09:40:50 +0000
commitce4519a6d2e3376f302992ac87e1b5f2548d8b14 (patch)
treed257b87d8b9d15fbb66ac4c856cd6882842aa0b8
parentUse splats for infraction reasons (diff)
parentPip cache (diff)
Merge branch 'pip-cache' into 'master'
Pip cache See merge request python-discord/projects/bot!39
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 88ab5d927..3edfb2bf8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,13 @@
image: pythondiscord/bot-ci:latest
+variables:
+ PIPENV_CACHE_DIR: "$CI_PROJECT_DIR/pipenv-cache"
+
+cache:
+ paths:
+ - "$CI_PROJECT_DIR/pipenv-cache"
+ - "$CI_PROJECT_DIR/.venv"
+
stages:
- test
- build