All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Travis-CI: upgrade to Ubuntu 18.04 and latest releases of Python and Ruby
@ 2020-05-04 19:11 Nicolas Iooss
  2020-05-05  8:44 ` Petr Lautrbach
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Iooss @ 2020-05-04 19:11 UTC (permalink / raw)
  To: selinux

* Test Python 3.8 and Pypy3 3.6-7.2.0
* Test Ruby 2.7
* Drop Ruby 2.2 and 2.3 (they are not supported with Ubuntu 18.04 in
  https://rubies.travis-ci.org/)
* While at it, replace deprecated libdbus-glib-1-dev with libglib2.0-dev
  now that restorecond has been upgraded.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 .travis.yml | 40 ++++++++++++++++++++--------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4361d26cbb83..c36e721a5e1d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,33 +11,33 @@ compiler:
 env:
   matrix:
     # Test the last version of Python and Ruby together, with some linkers
-    - PYVER=python3.7 RUBYLIBVER=2.6
-    - PYVER=python3.7 RUBYLIBVER=2.6 TEST_FLAGS_OVERRIDE=1
-    - PYVER=python3.7 RUBYLIBVER=2.6 TEST_DEBUG=1
-    - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=gold
-    - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
-
-    # Test several Python versions
-    - PYVER=python3.5 RUBYLIBVER=2.6
-    - PYVER=python3.6 RUBYLIBVER=2.6
-    - PYVER=pypy3.5-6.0 RUBYLIBVER=2.6
+    - PYVER=python3.8 RUBYLIBVER=2.7
+    - PYVER=python3.8 RUBYLIBVER=2.7 TEST_FLAGS_OVERRIDE=1
+    - PYVER=python3.8 RUBYLIBVER=2.7 TEST_DEBUG=1
+    - PYVER=python3.8 RUBYLIBVER=2.7 LINKER=gold
+    - PYVER=python3.8 RUBYLIBVER=2.7 LINKER=bfd
+
+    # Test several Python versions (https://docs.travis-ci.com/user/languages/python/#python-versions)
+    - PYVER=python3.5 RUBYLIBVER=2.7
+    - PYVER=python3.6 RUBYLIBVER=2.7
+    - PYVER=python3.7 RUBYLIBVER=2.7
+    - PYVER=pypy3.6-7.2.0 RUBYLIBVER=2.7
 
     # Test several Ruby versions (http://rubies.travis-ci.org/)
-    - PYVER=python3.7 RUBYLIBVER=2.5.1
-    - PYVER=python3.7 RUBYLIBVER=2.4
-    - PYVER=python3.7 RUBYLIBVER=2.3
-    - PYVER=python3.7 RUBYLIBVER=2.2
+    - PYVER=python3.8 RUBYLIBVER=2.6
+    - PYVER=python3.8 RUBYLIBVER=2.5.1
+    - PYVER=python3.8 RUBYLIBVER=2.4
 
 matrix:
   exclude:
     - compiler: clang
-      env: PYVER=python3.7 RUBYLIBVER=2.6 LINKER=gold
+      env: PYVER=python3.8 RUBYLIBVER=2.7 LINKER=gold
     - compiler: clang
-      env: PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
+      env: PYVER=python3.8 RUBYLIBVER=2.7 LINKER=bfd
 
-# Use Travis-CI Ubuntu 16.04 Xenial Xerus infrastructure, "full image" variant
+# Use Travis-CI Ubuntu 18.04 Bionic Beaver, "full image" variant
 sudo: required
-dist: xenial
+dist: bionic
 
 # Install SELinux userspace utilities dependencies
 addons:
@@ -52,7 +52,7 @@ addons:
     - libcap-dev
     - libcap-ng-dev # This package is not whitelisted for the container infrastructure (https://github.com/travis-ci/apt-package-whitelist/issues/1096)
     - libcunit1-dev
-    - libdbus-glib-1-dev
+    - libglib2.0-dev
     - libpcre3-dev
     - patch
     - python3-dev
@@ -78,7 +78,7 @@ install:
   # Download the required python version if it is not installed
   - VIRTUAL_ENV="$HOME/virtualenv/$PYVER"
   - if ! [ -d "$VIRTUAL_ENV" ] ; then
-        curl --retry 10 -o python.tar.bz2 "https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/16.04/x86_64/${PYVER/python/python-}.tar.bz2" &&
+        curl --retry 10 -o python.tar.bz2 "https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/18.04/x86_64/${PYVER/python/python-}.tar.bz2" &&
         sudo tar xjf python.tar.bz2 --directory / &&
         rm python.tar.bz2 ;
     fi
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Travis-CI: upgrade to Ubuntu 18.04 and latest releases of Python and Ruby
  2020-05-04 19:11 [PATCH] Travis-CI: upgrade to Ubuntu 18.04 and latest releases of Python and Ruby Nicolas Iooss
@ 2020-05-05  8:44 ` Petr Lautrbach
  2020-05-06 14:21   ` Petr Lautrbach
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Lautrbach @ 2020-05-05  8:44 UTC (permalink / raw)
  To: selinux; +Cc: Nicolas Iooss

[-- Attachment #1: Type: text/plain, Size: 3881 bytes --]

On Mon, May 04, 2020 at 09:11:22PM +0200, Nicolas Iooss wrote:
> * Test Python 3.8 and Pypy3 3.6-7.2.0
> * Test Ruby 2.7
> * Drop Ruby 2.2 and 2.3 (they are not supported with Ubuntu 18.04 in
>   https://rubies.travis-ci.org/)
> * While at it, replace deprecated libdbus-glib-1-dev with libglib2.0-dev
>   now that restorecond has been upgraded.
> 
> Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>

Acked-by: Petr Lautrbach <plautrba@redhat.com>


> ---
>  .travis.yml | 40 ++++++++++++++++++++--------------------
>  1 file changed, 20 insertions(+), 20 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 4361d26cbb83..c36e721a5e1d 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -11,33 +11,33 @@ compiler:
>  env:
>    matrix:
>      # Test the last version of Python and Ruby together, with some linkers
> -    - PYVER=python3.7 RUBYLIBVER=2.6
> -    - PYVER=python3.7 RUBYLIBVER=2.6 TEST_FLAGS_OVERRIDE=1
> -    - PYVER=python3.7 RUBYLIBVER=2.6 TEST_DEBUG=1
> -    - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=gold
> -    - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
> -
> -    # Test several Python versions
> -    - PYVER=python3.5 RUBYLIBVER=2.6
> -    - PYVER=python3.6 RUBYLIBVER=2.6
> -    - PYVER=pypy3.5-6.0 RUBYLIBVER=2.6
> +    - PYVER=python3.8 RUBYLIBVER=2.7
> +    - PYVER=python3.8 RUBYLIBVER=2.7 TEST_FLAGS_OVERRIDE=1
> +    - PYVER=python3.8 RUBYLIBVER=2.7 TEST_DEBUG=1
> +    - PYVER=python3.8 RUBYLIBVER=2.7 LINKER=gold
> +    - PYVER=python3.8 RUBYLIBVER=2.7 LINKER=bfd
> +
> +    # Test several Python versions (https://docs.travis-ci.com/user/languages/python/#python-versions)
> +    - PYVER=python3.5 RUBYLIBVER=2.7
> +    - PYVER=python3.6 RUBYLIBVER=2.7
> +    - PYVER=python3.7 RUBYLIBVER=2.7
> +    - PYVER=pypy3.6-7.2.0 RUBYLIBVER=2.7
>  
>      # Test several Ruby versions (http://rubies.travis-ci.org/)
> -    - PYVER=python3.7 RUBYLIBVER=2.5.1
> -    - PYVER=python3.7 RUBYLIBVER=2.4
> -    - PYVER=python3.7 RUBYLIBVER=2.3
> -    - PYVER=python3.7 RUBYLIBVER=2.2
> +    - PYVER=python3.8 RUBYLIBVER=2.6
> +    - PYVER=python3.8 RUBYLIBVER=2.5.1
> +    - PYVER=python3.8 RUBYLIBVER=2.4
>  
>  matrix:
>    exclude:
>      - compiler: clang
> -      env: PYVER=python3.7 RUBYLIBVER=2.6 LINKER=gold
> +      env: PYVER=python3.8 RUBYLIBVER=2.7 LINKER=gold
>      - compiler: clang
> -      env: PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
> +      env: PYVER=python3.8 RUBYLIBVER=2.7 LINKER=bfd
>  
> -# Use Travis-CI Ubuntu 16.04 Xenial Xerus infrastructure, "full image" variant
> +# Use Travis-CI Ubuntu 18.04 Bionic Beaver, "full image" variant
>  sudo: required
> -dist: xenial
> +dist: bionic
>  
>  # Install SELinux userspace utilities dependencies
>  addons:
> @@ -52,7 +52,7 @@ addons:
>      - libcap-dev
>      - libcap-ng-dev # This package is not whitelisted for the container infrastructure (https://github.com/travis-ci/apt-package-whitelist/issues/1096)
>      - libcunit1-dev
> -    - libdbus-glib-1-dev
> +    - libglib2.0-dev
>      - libpcre3-dev
>      - patch
>      - python3-dev
> @@ -78,7 +78,7 @@ install:
>    # Download the required python version if it is not installed
>    - VIRTUAL_ENV="$HOME/virtualenv/$PYVER"
>    - if ! [ -d "$VIRTUAL_ENV" ] ; then
> -        curl --retry 10 -o python.tar.bz2 "https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/16.04/x86_64/${PYVER/python/python-}.tar.bz2" &&
> +        curl --retry 10 -o python.tar.bz2 "https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/18.04/x86_64/${PYVER/python/python-}.tar.bz2" &&
>          sudo tar xjf python.tar.bz2 --directory / &&
>          rm python.tar.bz2 ;
>      fi
> -- 
> 2.26.2
> 

-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Travis-CI: upgrade to Ubuntu 18.04 and latest releases of Python and Ruby
  2020-05-05  8:44 ` Petr Lautrbach
@ 2020-05-06 14:21   ` Petr Lautrbach
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Lautrbach @ 2020-05-06 14:21 UTC (permalink / raw)
  To: selinux; +Cc: Nicolas Iooss

[-- Attachment #1: Type: text/plain, Size: 4274 bytes --]

On Tue, May 05, 2020 at 10:44:55AM +0200, Petr Lautrbach wrote:
> On Mon, May 04, 2020 at 09:11:22PM +0200, Nicolas Iooss wrote:
> > * Test Python 3.8 and Pypy3 3.6-7.2.0
> > * Test Ruby 2.7
> > * Drop Ruby 2.2 and 2.3 (they are not supported with Ubuntu 18.04 in
> >   https://rubies.travis-ci.org/)
> > * While at it, replace deprecated libdbus-glib-1-dev with libglib2.0-dev
> >   now that restorecond has been upgraded.
> > 
> > Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
> 
> Acked-by: Petr Lautrbach <plautrba@redhat.com>

Applied.

> 
> > ---
> >  .travis.yml | 40 ++++++++++++++++++++--------------------
> >  1 file changed, 20 insertions(+), 20 deletions(-)
> > 
> > diff --git a/.travis.yml b/.travis.yml
> > index 4361d26cbb83..c36e721a5e1d 100644
> > --- a/.travis.yml
> > +++ b/.travis.yml
> > @@ -11,33 +11,33 @@ compiler:
> >  env:
> >    matrix:
> >      # Test the last version of Python and Ruby together, with some linkers
> > -    - PYVER=python3.7 RUBYLIBVER=2.6
> > -    - PYVER=python3.7 RUBYLIBVER=2.6 TEST_FLAGS_OVERRIDE=1
> > -    - PYVER=python3.7 RUBYLIBVER=2.6 TEST_DEBUG=1
> > -    - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=gold
> > -    - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
> > -
> > -    # Test several Python versions
> > -    - PYVER=python3.5 RUBYLIBVER=2.6
> > -    - PYVER=python3.6 RUBYLIBVER=2.6
> > -    - PYVER=pypy3.5-6.0 RUBYLIBVER=2.6
> > +    - PYVER=python3.8 RUBYLIBVER=2.7
> > +    - PYVER=python3.8 RUBYLIBVER=2.7 TEST_FLAGS_OVERRIDE=1
> > +    - PYVER=python3.8 RUBYLIBVER=2.7 TEST_DEBUG=1
> > +    - PYVER=python3.8 RUBYLIBVER=2.7 LINKER=gold
> > +    - PYVER=python3.8 RUBYLIBVER=2.7 LINKER=bfd
> > +
> > +    # Test several Python versions (https://docs.travis-ci.com/user/languages/python/#python-versions)
> > +    - PYVER=python3.5 RUBYLIBVER=2.7
> > +    - PYVER=python3.6 RUBYLIBVER=2.7
> > +    - PYVER=python3.7 RUBYLIBVER=2.7
> > +    - PYVER=pypy3.6-7.2.0 RUBYLIBVER=2.7
> >  
> >      # Test several Ruby versions (http://rubies.travis-ci.org/)
> > -    - PYVER=python3.7 RUBYLIBVER=2.5.1
> > -    - PYVER=python3.7 RUBYLIBVER=2.4
> > -    - PYVER=python3.7 RUBYLIBVER=2.3
> > -    - PYVER=python3.7 RUBYLIBVER=2.2
> > +    - PYVER=python3.8 RUBYLIBVER=2.6
> > +    - PYVER=python3.8 RUBYLIBVER=2.5.1
> > +    - PYVER=python3.8 RUBYLIBVER=2.4
> >  
> >  matrix:
> >    exclude:
> >      - compiler: clang
> > -      env: PYVER=python3.7 RUBYLIBVER=2.6 LINKER=gold
> > +      env: PYVER=python3.8 RUBYLIBVER=2.7 LINKER=gold
> >      - compiler: clang
> > -      env: PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
> > +      env: PYVER=python3.8 RUBYLIBVER=2.7 LINKER=bfd
> >  
> > -# Use Travis-CI Ubuntu 16.04 Xenial Xerus infrastructure, "full image" variant
> > +# Use Travis-CI Ubuntu 18.04 Bionic Beaver, "full image" variant
> >  sudo: required
> > -dist: xenial
> > +dist: bionic
> >  
> >  # Install SELinux userspace utilities dependencies
> >  addons:
> > @@ -52,7 +52,7 @@ addons:
> >      - libcap-dev
> >      - libcap-ng-dev # This package is not whitelisted for the container infrastructure (https://github.com/travis-ci/apt-package-whitelist/issues/1096)
> >      - libcunit1-dev
> > -    - libdbus-glib-1-dev
> > +    - libglib2.0-dev
> >      - libpcre3-dev
> >      - patch
> >      - python3-dev
> > @@ -78,7 +78,7 @@ install:
> >    # Download the required python version if it is not installed
> >    - VIRTUAL_ENV="$HOME/virtualenv/$PYVER"
> >    - if ! [ -d "$VIRTUAL_ENV" ] ; then
> > -        curl --retry 10 -o python.tar.bz2 "https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/16.04/x86_64/${PYVER/python/python-}.tar.bz2" &&
> > +        curl --retry 10 -o python.tar.bz2 "https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/18.04/x86_64/${PYVER/python/python-}.tar.bz2" &&
> >          sudo tar xjf python.tar.bz2 --directory / &&
> >          rm python.tar.bz2 ;
> >      fi
> > -- 
> > 2.26.2
> > 
> 
> -- 
> ()  ascii ribbon campaign - against html e-mail 
> /\  www.asciiribbon.org   - against proprietary attachments



-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-06 14:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 19:11 [PATCH] Travis-CI: upgrade to Ubuntu 18.04 and latest releases of Python and Ruby Nicolas Iooss
2020-05-05  8:44 ` Petr Lautrbach
2020-05-06 14:21   ` Petr Lautrbach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.