Browse Source

Store the CI caches inside the project dir since that's the only place GitLab CI is allowed to cache

tags/v1.9.3
Danielle McLean 1 year ago
parent
commit
345c9f9885
Signed by: Danielle McLean <dani@00dani.me> GPG Key ID: 5A5D2D1AFF12EEC5
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      .gitlab-ci.yml

+ 4
- 2
.gitlab-ci.yml View File

@@ -1,11 +1,13 @@
1 1
 image: python:3.6
2 2
 variables:
3 3
   GIT_SUBMODULE_STRATEGY: normal
4
+  PIP_CACHE_DIR: $CI_PROJECT_DIR/.pip-cache
5
+  PIPENV_VENV_IN_PROJECT: true
4 6
 
5 7
 cache:
6 8
   paths:
7
-    - ~/.cache/pip
8
-    - ~/.local/share/virtualenvs
9
+    - .pip-cache
10
+    - .venv
9 11
 
10 12
 test:
11 13
   script:

Loading…
Cancel
Save