[1/3] travis: enable ccache

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

Checks

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

Commit Message

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

Comments

David Marchand April 12, 2019, 7:46 a.m. | #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. | #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"