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

Andrea Bolognani posted 1 patch 6 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180320150313.27321-1-abologna@redhat.com
Test syntax-check passed
.travis.yml | 2 ++
1 file changed, 2 insertions(+)
[libvirt] [PATCH] travis: Test both python2 and python3
Posted by Andrea Bolognani 6 years ago
Signed-off-by: Andrea Bolognani <abologna@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] travis: Test both python2 and python3
Posted by Daniel P. Berrangé 6 years ago
On Tue, Mar 20, 2018 at 04:03:13PM +0100, Andrea Bolognani wrote:
> Signed-off-by: Andrea Bolognani <abologna@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

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list