summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2018-11-09 10:07:09 -0500
committerEduardo Habkost <ehabkost@redhat.com>2019-01-17 17:52:40 -0200
commit53fefde4557cec9afe92a7d389d6d15e9b2d61aa (patch)
tree28774e77cc14d8c7cbb9983e755068f964075818
parent4061fcf288d146078bab13589064317c8264a1a3 (diff)
Travis CI: make specified Python versions usable on jobs
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 <crosa@redhat.com> Message-Id: <20181109150710.31085-4-crosa@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> [ehabkost: Now 3.4 is the lowest Python version available] Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> fixup! Travis CI: make specified Python versions usable on jobs Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
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"