]> git.phdru.name Git - ppu.git/commitdiff
Tests: Run tests with Python 3.8
authorOleg Broytman <phd@phdru.name>
Tue, 25 Feb 2020 21:49:50 +0000 (00:49 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 27 Feb 2020 21:38:47 +0000 (00:38 +0300)
.travis.yml
appveyor.yml
setup.py
tox.ini

index 649f8bf2a406e4dd92e8b8978fa22abad7e5b651..da0836a7d916b4cddc031c98c1ad4c784487380c 100644 (file)
@@ -21,10 +21,12 @@ matrix:
     env: TOXENV=py36
   - python: "3.7"
     env: TOXENV=py37
+  - python: "3.8"
+    env: TOXENV=py38
   - python: "2.7"
     env: TOXENV=py27-flake8
-  - python: "3.7"
-    env: TOXENV=py37-flake8
+  - python: "3.8"
+    env: TOXENV=py38-flake8
 
 install:
   - travis_retry pip install --upgrade "pip < 19.1" setuptools tox
index 21ee1eb567a50d3378c2b6e147a1f0ade12b1049..e598126c669c7f25ddcaa7cb85b17188fedd3128 100644 (file)
@@ -30,14 +30,22 @@ environment:
       PYTHON_VERSION: "3.7"
       PYTHON_ARCH: "64"
       PYTHON_HOME: "C:\\Python37-x64"
+    - TOXENV: "py38"
+      PYTHON_VERSION: "3.8"
+      PYTHON_ARCH: "32"
+      PYTHON_HOME: "C:\\Python38"
+    - TOXENV: "py38"
+      PYTHON_VERSION: "3.8"
+      PYTHON_ARCH: "64"
+      PYTHON_HOME: "C:\\Python38-x64"
     - TOXENV: "py27-flake8"
       PYTHON_VERSION: "2.7"
       PYTHON_ARCH: "32"
       PYTHON_HOME: "C:\\Python27"
-    - TOXENV: "py37-flake8"
-      PYTHON_VERSION: "3.7"
+    - TOXENV: "py38-flake8"
+      PYTHON_VERSION: "3.8"
       PYTHON_ARCH: "64"
-      PYTHON_HOME: "C:\\Python37-x64"
+      PYTHON_HOME: "C:\\Python38-x64"
 
 install:
   # Ensure we use the right python version
index 5a5bd728247dde9582eb94173e2bb8f10ab02c1e..050cb6e58c07d8dd4e514d81cf2230bb7d0f25e9 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -51,6 +51,7 @@ setup(
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
     ],
     packages=['ppu'],
     scripts=[
diff --git a/tox.ini b/tox.ini
index 14917d6aadaa606fcf81eb5ecf7de699129bad8f..63865297d7d7ea1849808b4c189a1f3c34f63a5a 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 1.8
-envlist = py{27,34,35,36,37}, pypy, py{27,37}-flake8
+envlist = py27,py3{4,5,6,7,8}, pypy, py{27,38}-flake8
 
 # Base test environment settings
 [testenv]
@@ -10,6 +10,7 @@ basepython =
     py35: {env:TOXPYTHON:python3.5}
     py36: {env:TOXPYTHON:python3.6}
     py37: {env:TOXPYTHON:python3.7}
+    py38: {env:TOXPYTHON:python3.8}
     pypy: {env:TOXPYTHON:pypy}
 commands =
     {envpython} --version
@@ -46,6 +47,11 @@ commands =
     {[testenv]commands}
     {[general]commands}
 
+[testenv:py38]
+commands =
+    {[testenv]commands}
+    {[general]commands}
+
 [testenv:pypy]
 commands =
     {[testenv]commands}
@@ -58,7 +64,7 @@ commands =
     {[testenv]commands}
     flake8
 
-[testenv:py37-flake8]
+[testenv:py38-flake8]
 deps =
     flake8
 commands =