use cache for pip
This commit is contained in:
parent
6e01010b47
commit
2ce524276f
1 changed files with 8 additions and 0 deletions
|
|
@ -1,5 +1,13 @@
|
||||||
image: python:3.7-alpine
|
image: python:3.7-alpine
|
||||||
|
|
||||||
|
variables:
|
||||||
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- "$CI_PROJECT_DIR/pip-cache"
|
||||||
|
key: "$CI_PROJECT_ID"
|
||||||
|
|
||||||
test-docs:
|
test-docs:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue