Repository: libcloud
Updated Branches:
  refs/heads/trunk 6ed3c6e1a -> e5c8c5b1e


Cache pip and apt stuff.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e5c8c5b1
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e5c8c5b1
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e5c8c5b1

Branch: refs/heads/trunk
Commit: e5c8c5b1e4a43b0161e3e95b580ba0f155105428
Parents: 6ed3c6e
Author: Tomaz Muraus <[email protected]>
Authored: Sat Jan 23 18:21:45 2016 +0100
Committer: Tomaz Muraus <[email protected]>
Committed: Sat Jan 23 18:21:45 2016 +0100

----------------------------------------------------------------------
 .travis.yml | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e5c8c5b1/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index e017ed4..3c043f9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,18 +12,20 @@ python:
     - pypy3
 os:
   - linux
-env:
 
 matrix:
   fast_finish: true
   include:
-    - python: 2.7
-      env: ENV=lint
+    - env: ENV=lint
+      python: 2.7
       before_script: TOX_ENV=lint
-    - python: 2.7
-      env: ENV=docs
+    - env: ENV=docs
+      python: 2.7
       # Note: graphviz is needed for grapgs embedded in the docs
-      addons: {apt: {packages: [graphviz]}}
+      addons:
+        apt:
+          packages:
+            - graphviz
       before_script: TOX_ENV=docs-travis
       # Trigger ReadTheDocs build
       after_success: ./contrib/trigger_rtd_build.py 8284
@@ -37,6 +39,11 @@ install:
 script:
   - tox -e $TOX_ENV
 
+cache:
+  apt: true
+  directories:
+    - $HOME/.cache/pip # pip cache
+
 notifications:
   # Disabled until ASF switches to new mailing list software
   # when we can whitelist addresses

Reply via email to