[v2,1/1] travis: fix DPDK cache

Message ID 1501556404-13225-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • [v2,1/1] travis: fix DPDK cache
Related show

Commit Message

Github ODP bot Aug. 1, 2017, 3 a.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Unfortunately, keys in .travis.yml override each other rather than just
combining. Thus second cache instance (ccache) disabled first one
(DPDK). Fix that by merging both cache instance into single key in
.travis.yml.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 98 (lumag:fix-cache)
 ** https://github.com/Linaro/odp/pull/98
 ** Patch: https://github.com/Linaro/odp/pull/98.patch
 ** Base sha: 10ef82e6d4db8c02dd5caa2e97172688e829b90c
 ** Merge commit sha: 2ec7127418d874617c01fb9b13d5b6ef974203e9
 **/
 .travis.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Patch

diff --git a/.travis.yml b/.travis.yml
index ed7eb2ba..26dd2b38 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,9 +8,6 @@ 
 # See https://scan.coverity.com/travis_ci
 
 language: c
-cache:
-  directories:
-  - dpdk
 sudo: required
 dist: trusty
 group: deprecated-2017Q2
@@ -61,6 +58,8 @@  compiler:
 cache:
         - ccache
         - pip
+        - directories:
+                - dpdk
 
 env:
         - CONF=""