commit:     a81621eaa238489fc85d39f594707813496afceb
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 25 12:25:34 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Nov 25 22:29:00 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=a81621ea

Enable python3.7 testing

Reflect recent python versions in test scripts

Closes: https://github.com/gentoo/portage/pull/383
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 .travis.yml      | 7 +++++++
 repoman/runtests | 6 +++---
 runtests         | 6 +++---
 tox.ini          | 2 +-
 4 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 846308e08..ab0b8d304 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,13 @@ python:
     - 3.6
     - pypy
 
+# See https://github.com/travis-ci/travis-ci/issues/9815
+matrix:
+  include:
+    - python: 3.7
+      dist: xenial
+      sudo: required
+
 # command to install dependencies
 install:
     - pip install tox

diff --git a/repoman/runtests b/repoman/runtests
index 2b8cb4c5e..e208ab61d 100755
--- a/repoman/runtests
+++ b/repoman/runtests
@@ -24,14 +24,14 @@ import tempfile
 # These are the versions we fully support and require to pass tests.
 PYTHON_SUPPORTED_VERSIONS = [
        '2.7',
-       '3.3',
        '3.4',
+       '3.5',
+       '3.6'
 ]
 # The rest are just "nice to have".
 PYTHON_NICE_VERSIONS = [
        'pypy',
-       '3.5',
-       '3.6',
+       '3.7'
 ]
 
 EPREFIX = os.environ.get('PORTAGE_OVERRIDE_EPREFIX', '/')

diff --git a/runtests b/runtests
index 597ccaede..7c3ebb1ca 100755
--- a/runtests
+++ b/runtests
@@ -24,14 +24,14 @@ import tempfile
 # These are the versions we fully support and require to pass tests.
 PYTHON_SUPPORTED_VERSIONS = [
        '2.7',
-       '3.3',
        '3.4',
+       '3.5',
+       '3.6'
 ]
 # The rest are just "nice to have".
 PYTHON_NICE_VERSIONS = [
        'pypy',
-       '3.5',
-       '3.6',
+       '3.7'
 ]
 
 EPREFIX = os.environ.get('PORTAGE_OVERRIDE_EPREFIX', '/')

diff --git a/tox.ini b/tox.ini
index cafdb0045..2d1501971 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py34,py35,py36,pypy,pypy3
+envlist = py27,py34,py35,py36,py37,pypy,pypy3
 skipsdist = True
 
 [testenv]

Reply via email to