Skip to content

Commit

Permalink
travis.yml: Fix Travis YAML configuration warnings
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
wainersm authored and stsquad committed Feb 25, 2020
1 parent 31c8cc4 commit 321e6ea
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -113,7 +114,7 @@ after_script:
- if command -v ccache ; then ccache --show-stats ; fi


matrix:
jobs:
include:
- name: "GCC static (user)"
env:
Expand Down Expand Up @@ -297,17 +298,15 @@ 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)"
env:
- CONFIG="--target-list=x86_64-softmmu"
- CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
language: python
python:
- "3.6"
python: 3.6


# Acceptance (Functional) tests
Expand Down

0 comments on commit 321e6ea

Please sign in to comment.