From 8d5c315817c7bfc08dab5294d427b9bbff9e9014 Mon Sep 17 00:00:00 2001 From: Job Evers Date: Mon, 27 Jun 2016 11:21:30 -0500 Subject: [PATCH] add caching for travis --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 15d89ccf7..808010841 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,11 @@ matrix: # https://github.com/travis-ci/travis-ci/issues/2312#issuecomment-195620855 language: generic +cache: + directories: + - $HOME/.cache/pip + - $HOME/Library/Caches/pip + before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install python; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo pip install --upgrade pip virtualenv; fi