[libvirt] [PATCH] travis: Test both python2 and python3

Andrea Bolognani abologna at redhat.com
Tue Mar 20 15:03:13 UTC 2018


Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index d071c98634..01dffaa602 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,10 +7,12 @@ matrix:
     - compiler: gcc
       dist: trusty
       env:
+        - PYTHON=$(which python2)
         - DISTCHECK_CONFIGURE_FLAGS="--with-init-script=upstart"
     - compiler: clang
       dist: trusty
       env:
+        - PYTHON=$(which python3)
         - DISTCHECK_CONFIGURE_FLAGS="--with-init-script=systemd"
     - compiler: clang
       os: osx
-- 
2.14.3




More information about the libvir-list mailing list