qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Travis: Fix YAML warnings
@ 2020-02-07 21:01 Wainer dos Santos Moschetta
  2020-02-07 21:01 ` [PATCH 1/1] travis.yml: Fix Travis YAML configuration warnings Wainer dos Santos Moschetta
  0 siblings, 1 reply; 3+ messages in thread
From: Wainer dos Santos Moschetta @ 2020-02-07 21:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: fam, philmd, alex.bennee

My Travis configuration for QEMU [1] is debug-enabled, and
in the Web UI it shows some warnings for the YAML file (e.g. see
[2]).

Copy/paste the .travis.yml file into [3] to see the warnings.

This series get rid of those warnings.

[1] https://travis-ci.org/wainersm/qemu
[2] https://travis-ci.org/wainersm/qemu/builds/647461515/config
[3] https://config.travis-ci.com/explore

Wainer dos Santos Moschetta (1):
  travis.yml: Fix Travis YAML configuration warnings

 .travis.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

-- 
2.24.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] travis.yml: Fix Travis YAML configuration warnings
  2020-02-07 21:01 [PATCH 0/1] Travis: Fix YAML warnings Wainer dos Santos Moschetta
@ 2020-02-07 21:01 ` Wainer dos Santos Moschetta
  2020-02-10 12:11   ` Alex Bennée
  0 siblings, 1 reply; 3+ messages in thread
From: Wainer dos Santos Moschetta @ 2020-02-07 21:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: fam, philmd, alex.bennee

This fixes the following warnings Travis has detected on the
YAML configuration:

- 'on root: missing os, using the default "linux"'
- 'on root: the key matrix is an alias for jobs, using jobs'
- 'on jobs.include.python: unexpected sequence, using the first value (3.5)'
- 'on jobs.include.python: unexpected sequence, using the first value (3.6)'

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
---
 .travis.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 6c0ec6cf69..b1228e9175 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,7 @@
 # The current Travis default is a VM based 16.04 Xenial on GCE
 # Additional builds with specific requirements for a full VM need to
 # be added as additional matrix: entries later on
+os: linux
 dist: xenial
 language: c
 compiler:
@@ -113,7 +114,7 @@ after_script:
   - if command -v ccache ; then ccache --show-stats ; fi
 
 
-matrix:
+jobs:
   include:
     - name: "GCC static (user)"
       env:
@@ -297,8 +298,7 @@ matrix:
         - CONFIG="--target-list=x86_64-softmmu"
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
       language: python
-      python:
-        - "3.5"
+      python: 3.5
 
 
     - name: "GCC Python 3.6 (x86_64-softmmu)"
@@ -306,8 +306,7 @@ matrix:
         - CONFIG="--target-list=x86_64-softmmu"
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
       language: python
-      python:
-        - "3.6"
+      python: 3.6
 
 
     # Acceptance (Functional) tests
-- 
2.24.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] travis.yml: Fix Travis YAML configuration warnings
  2020-02-07 21:01 ` [PATCH 1/1] travis.yml: Fix Travis YAML configuration warnings Wainer dos Santos Moschetta
@ 2020-02-10 12:11   ` Alex Bennée
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Bennée @ 2020-02-10 12:11 UTC (permalink / raw)
  To: Wainer dos Santos Moschetta; +Cc: fam, philmd, qemu-devel


Wainer dos Santos Moschetta <wainersm@redhat.com> writes:

> This fixes the following warnings Travis has detected on the
> YAML configuration:
>
> - 'on root: missing os, using the default "linux"'
> - 'on root: the key matrix is an alias for jobs, using jobs'
> - 'on jobs.include.python: unexpected sequence, using the first value (3.5)'
> - 'on jobs.include.python: unexpected sequence, using the first value (3.6)'
>
> Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>

Queued to testing/next, thanks.

-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-10 12:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-07 21:01 [PATCH 0/1] Travis: Fix YAML warnings Wainer dos Santos Moschetta
2020-02-07 21:01 ` [PATCH 1/1] travis.yml: Fix Travis YAML configuration warnings Wainer dos Santos Moschetta
2020-02-10 12:11   ` Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).