aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-11-25 13:25:34 +0100
committerZac Medico <zmedico@gentoo.org>2018-11-25 14:29:00 -0800
commita81621eaa238489fc85d39f594707813496afceb (patch)
tree374dc5690b59e9e8ad1c9f85f4c6900de5d26b5a
parentemerge --help: add -U option short for --changed-use (diff)
downloadportage-a81621eaa238489fc85d39f594707813496afceb.tar.gz
portage-a81621eaa238489fc85d39f594707813496afceb.tar.bz2
portage-a81621eaa238489fc85d39f594707813496afceb.zip
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@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--.travis.yml7
-rwxr-xr-xrepoman/runtests6
-rwxr-xr-xruntests6
-rw-r--r--tox.ini2
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]