From 64b90817fef3fe60364b093c0367a5029383c24e Mon Sep 17 00:00:00 2001 From: WouterJ Date: Sun, 28 Jun 2015 00:03:21 +0200 Subject: [PATCH 1/3] Improve travis build speed --- .travis.yml | 12 +++++++----- requirements.txt | 1 - 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml index 73bca138115..d9966ccf190 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,18 @@ language: python -python: - - "2.7" +python: "2.7" sudo: false -install: - - "pip install -q -r requirements.txt --use-mirrors" +cache: + directories: + - $HOME/.pip-cache/ + - _build + +install: pip install --download-cache $HOME/.pip-cache --user sphinx==1.1.3 script: sphinx-build -nW -b html -d _build/doctrees . _build/html branches: except: - github-comments - diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 3049177233e..00000000000 --- a/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -Sphinx==1.1.3 From 0efccb5b5fe949247121621258cdbcb49cd340d1 Mon Sep 17 00:00:00 2001 From: Wouter J Date: Fri, 3 Jul 2015 14:19:58 +0200 Subject: [PATCH 2/3] Fix build --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d9966ccf190..3e03572e220 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ cache: - $HOME/.pip-cache/ - _build -install: pip install --download-cache $HOME/.pip-cache --user sphinx==1.1.3 +install: pip install --download-cache $HOME/.pip-cache sphinx==1.1.3 script: sphinx-build -nW -b html -d _build/doctrees . _build/html From 4650da9ff658c852d8aea65e70dcf21e0bcc4528 Mon Sep 17 00:00:00 2001 From: Wouter J Date: Fri, 3 Jul 2015 15:06:06 +0200 Subject: [PATCH 3/3] Fix caching --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3e03572e220..667ca86fa50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,10 @@ sudo: false cache: directories: - - $HOME/.pip-cache/ + - $HOME/.cache/pip - _build -install: pip install --download-cache $HOME/.pip-cache sphinx==1.1.3 +install: pip install sphinx==1.1.3 script: sphinx-build -nW -b html -d _build/doctrees . _build/html