Skip to content

Instantly share code, notes, and snippets.

@themperek
Last active August 29, 2015 14:21
Show Gist options
  • Save themperek/c323fd5eb185029de834 to your computer and use it in GitHub Desktop.
Save themperek/c323fd5eb185029de834 to your computer and use it in GitHub Desktop.
How to cache requirements python project on Travis-CI?
cache:
directories:
- $HOME/.pip-cache/
install:
- pip install --upgrade pip
- pip install -r requirements.txt --cache-dir $HOME/.pip-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment