]> xenbits.xensource.com Git - libvirt.git/commitdiff
travis: Test both python2 and python3
authorAndrea Bolognani <abologna@redhat.com>
Tue, 20 Mar 2018 14:29:31 +0000 (15:29 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 20 Mar 2018 15:38:48 +0000 (16:38 +0100)
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
.travis.yml

index d071c9863499f1bd6923e97cc9be62f5b62f97ce..01dffaa60202419b86c6ff511c03613a1eb1ceff 100644 (file)
@@ -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