The Travis documentation on caching does not specifically mention how to cache python dependencies installed from pipenv's Pipfile, rather than from pip's usual requirements.txt
. I tried setting up pip caching per documentation anyway, but build times are not improved at all, and I see pipenv installing its deps on every run.
This is the syntax I'm currently using - what is the correct syntax? (or is it even supported?)
language: python
python:
- "3.6"
cache: pip
cache:
directories:
- proj/static/node_modules
- $HOME/.cache/pip
pip
is installing it's packages in$HOME/.cache/pip
. Could you link to the github project for reference? – StephenG