From e6535e9eb3e95cedc68f143c079fa63af5399d23 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 24 Dec 2015 09:59:03 -0500 Subject: [PATCH 1/3] TST: enable caching on travis --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 45eaecd5ab47..741ca9955879 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,10 @@ sudo: false +cache: + directories: + - $HOME/.ccache + - $HOME/.cache/pip + addons: apt: packages: @@ -55,6 +60,7 @@ before_install: # Install into our own pristine virtualenv - virtualenv --python=python venv - source venv/bin/activate + - export PATH=/usr/lib/ccache:$PATH install: # Upgrade pip and setuptools. Mock has issues with the default version of From a8b177c221ab232dc61f526e0a04a553b2b34be1 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 24 Dec 2015 10:28:35 -0500 Subject: [PATCH 2/3] TST: add diagnostic that ccache is working --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 741ca9955879..4429531733ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,6 +63,7 @@ before_install: - export PATH=/usr/lib/ccache:$PATH install: + - ccache -s # Upgrade pip and setuptools. Mock has issues with the default version of # setuptools - | From 939fa6f93f17b8320f0c59b7adeb175a8f46831f Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 24 Dec 2015 12:22:28 -0500 Subject: [PATCH 3/3] TST: upgrade installed version of wheel on travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 4429531733ca..2980e6c3a06c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,6 +68,7 @@ install: # setuptools - | pip install --upgrade pip + pip install --upgrade wheel pip install --upgrade setuptools # Install only from travis wheelhouse - if [ -z "$PRE" ]; then