diff mbox series

[kvm-unit-tests,v2,09/10] travis.yml: Change matrix keyword to jobs

Message ID 20200901085056.33391-10-r.bolshakov@yadro.com (mailing list archive)
State New, archived
Headers show
Series Add support for generic ELF cross-compiler | expand

Commit Message

Roman Bolshakov Sept. 1, 2020, 8:50 a.m. UTC
jobs keyword is used throughout Travis documentation and matrix is an
alias for it (according to Travis config validation):

  root: key matrix is an alias for jobs, using jobs

At first glance it's not clear if they're the same and if jobs
documentation applies to matrix. Changing keyword name should make it
obvious.

While at it, fix the Travis config warning:

  root: deprecated key sudo (The key `sudo` has no effect anymore.)

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
---
 .travis.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Thomas Huth Sept. 4, 2020, 2:20 p.m. UTC | #1
On 01/09/2020 10.50, Roman Bolshakov wrote:
> jobs keyword is used throughout Travis documentation and matrix is an
> alias for it (according to Travis config validation):
> 
>   root: key matrix is an alias for jobs, using jobs
> 
> At first glance it's not clear if they're the same and if jobs
> documentation applies to matrix. Changing keyword name should make it
> obvious.
> 
> While at it, fix the Travis config warning:
> 
>   root: deprecated key sudo (The key `sudo` has no effect anymore.)
> 
> Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
> ---
>  .travis.yml | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 7bd0205..f3a8899 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -1,11 +1,10 @@
> -sudo: true
>  dist: bionic
>  language: c
>  cache: ccache
>  git:
>    submodules: false
>  
> -matrix:
> +jobs:
>    include:
>  
>      - addons:
> 

Seems to work.

Tested-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 7bd0205..f3a8899 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,11 +1,10 @@ 
-sudo: true
 dist: bionic
 language: c
 cache: ccache
 git:
   submodules: false
 
-matrix:
+jobs:
   include:
 
     - addons: