Attempt to cache the packages installed by pip and pipenv to dramatically speed up the pipeline

This commit is contained in:
Danielle McLean 2018-02-26 12:58:34 +11:00
parent 6ceb800723
commit 58d8ca2a25
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -2,6 +2,11 @@ image: python:3.6
variables: variables:
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: normal
cache:
paths:
- ~/.cache/pip
- ~/.local/share/virtualenvs
test: test:
script: script:
- pip install pipenv - pip install pipenv