[v2,1/3] travis: enable ccache

Message ID 20190412162141.23327-2-aconole@redhat.com
State Accepted
Headers show
Series
  • travis: enhancements for build (plus a meson fix)
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS
ci/checkpatch success coding style OK

Commit Message

Aaron Conole April 12, 2019, 4:21 p.m.
We try to make the planet happy travis builds dpdk.

Also, the 'sudo' flag was recently deprecated.  Drop it.

Suggested-by: Luca Boccassi <bluca@debian.org>
Signed-off-by: Aaron Conole <aconole@redhat.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Luca Boccassi <bluca@debian.org>
---
 .travis.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/.travis.yml b/.travis.yml
index 3045eada5..72f8671b1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,5 @@ 
 language: c
+cache: ccache
 compiler:
   - gcc
   - clang
@@ -24,8 +25,6 @@  extra_packages: &extra_packages
 
 before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh
 
-sudo: false
-
 env:
   - DEF_LIB="static"
   - DEF_LIB="shared"