[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 5/9] Travis CI: make specified Python versions usable
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL 5/9] Travis CI: make specified Python versions usable on jobs |
Date: |
Thu, 17 Jan 2019 18:17:39 -0200 |
From: Cleber Rosa <address@hidden>
For the two Python jobs, which seem to have the goal of making sure
QEMU builds successfully on the 3.0-3.6 spectrum of Python 3 versions,
the specified version is only applicable if a Python virtual
environment is used. To do that, it's necessary to define the
(primary?) language of the job to be Python.
Also, Travis doesn't have a 3.0 Python installation available for the
chosen distro, 3.4 being the lower version available.
Reference:
https://docs.travis-ci.com/user/languages/python/#specifying-python-versions
Signed-off-by: Cleber Rosa <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
[ehabkost: Now 3.4 is the lowest Python version available]
Signed-off-by: Eduardo Habkost <address@hidden>
fixup! Travis CI: make specified Python versions usable on jobs
Signed-off-by: Eduardo Habkost <address@hidden>
---
.travis.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 93fd0164a0..87d9fa971c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -175,12 +175,14 @@ matrix:
# Python builds
- env:
- CONFIG="--target-list=x86_64-softmmu"
+ language: python
python:
- - "3.0"
+ - "3.4"
- env:
- CONFIG="--target-list=x86_64-softmmu"
+ language: python
python:
- "3.6"
--
2.18.0.rc1.1.g3f1ff2140
- [Qemu-devel] [PULL 0/9] Python queue, 2019-01-17, Eduardo Habkost, 2019/01/17
- [Qemu-devel] [PULL 1/9] scripts/device-crash-test: Remove known crashes, Eduardo Habkost, 2019/01/17
- [Qemu-devel] [PULL 2/9] scripts: Remove unused python imports, Eduardo Habkost, 2019/01/17
- [Qemu-devel] [PULL 3/9] configure: keep track of Python version, Eduardo Habkost, 2019/01/17
- [Qemu-devel] [PULL 5/9] Travis CI: make specified Python versions usable on jobs,
Eduardo Habkost <=
- [Qemu-devel] [PULL 4/9] check-venv: use recorded Python version, Eduardo Habkost, 2019/01/17
- [Qemu-devel] [PULL 6/9] check-help: visual and content improvements, Eduardo Habkost, 2019/01/17
- [Qemu-devel] [PULL 7/9] Acceptance tests: add Linux initrd checking test, Eduardo Habkost, 2019/01/17
- [Qemu-devel] [PULL 9/9] scripts/replay-dump.py: fix utf-8 mangling, Eduardo Habkost, 2019/01/17
- [Qemu-devel] [PULL 8/9] qemu.py: Fix error message when qemu dies from signal, Eduardo Habkost, 2019/01/17
- Re: [Qemu-devel] [PULL 0/9] Python queue, 2019-01-17, Peter Maydell, 2019/01/18