From ae5bf6e49f621b835dfc3bf89b876e7281d25217 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Tue, 1 Sep 2015 19:43:32 +0200 Subject: [PATCH 1/3] [enh] Migrating Travis CI from legacy to container-based infrastructure This patch should speedup testing with Travis CI using caching and container-based infrastructure. source: - http://docs.travis-ci.com/user/migrating-from-legacy/ - http://docs.travis-ci.com/user/caching/ --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 44340600d..7e0d80f83 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,7 @@ +sudo: false +cache: + - pip + - npm language: python python: - "2.7" From e9c33572e90c9e7017ea47ae4ccc26aec869f19b Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Tue, 1 Sep 2015 20:02:08 +0200 Subject: [PATCH 2/3] [fix] also cache "/.cache/pip" --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7e0d80f83..0edd71c1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ sudo: false cache: - pip - npm + directories: + - $HOME/.cache/pip language: python python: - "2.7" From cf932ee6a0c86575ac78ee3c4206c4f39bfa8305 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Tue, 1 Sep 2015 20:03:32 +0200 Subject: [PATCH 3/3] [fix] yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0edd71c1c..be6683510 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ sudo: false cache: - pip - npm - directories: + - directories: - $HOME/.cache/pip language: python python: