From b63bb6671f39566015f1d22c07f347963c79bdc8 Mon Sep 17 00:00:00 2001 From: Omer Katz Date: Tue, 17 Feb 2015 10:10:21 +0200 Subject: [PATCH 1/2] Added pip downloads caching in travis. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4f9297853..68f99806f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: python - +cache: pip sudo: false env: From b18fe44b9067adc022bcd66a531bd2b4502cfa26 Mon Sep 17 00:00:00 2001 From: Omer Katz Date: Wed, 18 Feb 2015 15:28:41 +0200 Subject: [PATCH 2/2] Switched from directly specifying pip to specifying which directory to cache. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 68f99806f..413023034 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: python -cache: pip +cache: + directories: + - $HOME/.cache/pip sudo: false env: