[1/3] travis: enable ccache

Message ID 20190411195229.7841-2-aconole@redhat.com (mailing list archive)
State Superseded, archived
Headers
Series travis: enhancements for build (plus a meson fix) |

Checks

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

Commit Message

Aaron Conole April 11, 2019, 7:52 p.m. UTC
  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>
---
 .travis.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Comments

David Marchand April 12, 2019, 7:46 a.m. UTC | #1
On Thu, Apr 11, 2019 at 9:52 PM Aaron Conole <aconole@redhat.com> wrote:

> 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>
> ---
>  .travis.yml | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> 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"
> --
> 2.19.1
>

Reviewed-by: David Marchand <david.marchand@redhat.com>
  
Luca Boccassi April 12, 2019, 9:16 a.m. UTC | #2
On Thu, 2019-04-11 at 15:52 -0400, Aaron Conole wrote:
> 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
> >
> ---
>  .travis.yml | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> 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"
> 

Acked-by: Luca Boccassi <bluca@debian.org>
  

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"