Browse Source

more cache

master
Dimitri Merejkowsky 4 years ago
parent
commit
b13a4955bb
No known key found for this signature in database GPG Key ID: 6BF3C7EA7C2D64EC
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      .gitlab-ci.yml

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

@@ -1,5 +1,8 @@
image: python:latest image: python:latest


variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"

before_script: before_script:
- pip install poetry - pip install poetry
- poetry config virtualenvs.in-project true - poetry config virtualenvs.in-project true
@@ -17,5 +20,6 @@ pages:
cache: cache:
paths: paths:
- cours/.venv - cours/.venv
- .cache/pip
only: only:
- master - master