From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gL8Nw-0007N7-Gc for qemu-devel@nongnu.org; Fri, 09 Nov 2018 10:07:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gL8Nt-0007Ai-5S for qemu-devel@nongnu.org; Fri, 09 Nov 2018 10:07:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42752) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gL8Ng-0006kq-LL for qemu-devel@nongnu.org; Fri, 09 Nov 2018 10:07:35 -0500 From: Cleber Rosa Date: Fri, 9 Nov 2018 10:07:09 -0500 Message-Id: <20181109150710.31085-4-crosa@redhat.com> In-Reply-To: <20181109150710.31085-1-crosa@redhat.com> References: <20181109150710.31085-1-crosa@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 3/4] Travis CI: make specified Python versions usable on jobs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Caio Carrara , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Eduardo Habkost , Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Cleber Rosa 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.2 being the lower version available. Reference: https://docs.travis-ci.com/user/languages/python/#specifying-p= ython-versions Signed-off-by: Cleber Rosa --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index aa49c7b114..5c18d3e268 100644 --- a/.travis.yml +++ b/.travis.yml @@ -112,9 +112,11 @@ matrix: compiler: clang # Python builds - env: CONFIG=3D"--target-list=3Dx86_64-softmmu" + language: python python: - - "3.0" + - "3.2" - env: CONFIG=3D"--target-list=3Dx86_64-softmmu" + language: python python: - "3.6" # Acceptance (Functional) tests --=20 2.19.1