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

index e2280bf511b1f05339d1a03c8f26400612a8383b..702671ec850a42452fb48d4757089c544d1f8fd0 100644 (file)
@@ -21,10 +21,12 @@ matrix:
     env: TOXENV=py36
   - python: "3.7"
     env: TOXENV=py37
     env: TOXENV=py36
   - python: "3.7"
     env: TOXENV=py37
+  - python: "3.8"
+    env: TOXENV=py38
   - python: "2.7"
     env: TOXENV=py27-flake8
   - 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 ppu
 
 install:
   - travis_retry pip install --upgrade "pip < 19.1" setuptools tox ppu
index 804a8da30522509e0aa994a55841392ece1f624c..12053007902df0fba6c8a8518db923ba37c30c66 100644 (file)
@@ -35,6 +35,14 @@ environment:
       PYTHON_VERSION: "3.7"
       PYTHON_ARCH: "64"
       PYTHON_HOME: "C:\\Python37-x64"
       PYTHON_VERSION: "3.7"
       PYTHON_ARCH: "64"
       PYTHON_HOME: "C:\\Python37-x64"
+    - TOXENV: "py38-sqlite-w32"
+      PYTHON_VERSION: "3.8"
+      PYTHON_ARCH: "32"
+      PYTHON_HOME: "C:\\Python38"
+    - TOXENV: "py38-sqlite-w32"
+      PYTHON_VERSION: "3.8"
+      PYTHON_ARCH: "64"
+      PYTHON_HOME: "C:\\Python38-x64"
 
 install:
   # Ensure we use the right python version
 
 install:
   # Ensure we use the right python version
index cfe8db3186a5da97164cca822a6915da072f6952..9ae03afa192aa1a59a015c102939ae10e34f860e 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -55,6 +55,7 @@ setup(
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
     ],
     packages=['m_librarian', 'm_librarian.web'],
     package_data={'m_librarian': [
     ],
     packages=['m_librarian', 'm_librarian.web'],
     package_data={'m_librarian': [
diff --git a/tox.ini b/tox.ini
index dc8bab1dbdc8c452ddd93311e135826483ea0b40..cd541328032d8031adf479b084e257d3055cd282 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 2.0
 [tox]
 minversion = 2.0
-envlist = py{27,34,35,36,37},py{27,37}-flake8
+envlist = py27,py3{4,5,6,7,8},py{27,38}-flake8
 
 # Base test environment settings
 [testenv]
 
 # 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}
     py35: {env:TOXPYTHON:python3.5}
     py36: {env:TOXPYTHON:python3.6}
     py37: {env:TOXPYTHON:python3.7}
+    py38: {env:TOXPYTHON:python3.8}
 commands =
     {envpython} --version
     {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
 commands =
     {envpython} --version
     {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
@@ -40,6 +41,9 @@ commands = {[general]commands}
 [testenv:py37]
 commands = {[general]commands}
 
 [testenv:py37]
 commands = {[general]commands}
 
+[testenv:py38]
+commands = {[general]commands}
+
 [sqlite-w32]
 platform = win32
 commands =
 [sqlite-w32]
 platform = win32
 commands =
@@ -70,6 +74,11 @@ commands =
     cmd /c "copy devscripts\\CI\\validators.py {envsitepackagesdir}\\formencode\\validators.py"
     {[sqlite-w32]commands}
 
     cmd /c "copy devscripts\\CI\\validators.py {envsitepackagesdir}\\formencode\\validators.py"
     {[sqlite-w32]commands}
 
+[testenv:py38-sqlite-w32]
+platform = win32
+commands =
+    {[sqlite-w32]commands}
+
 # flake8
 [testenv:py27-flake8]
 deps =
 # flake8
 [testenv:py27-flake8]
 deps =
@@ -78,7 +87,7 @@ commands =
     {[testenv]commands}
     flake8
 
     {[testenv]commands}
     flake8
 
-[testenv:py37-flake8]
+[testenv:py38-flake8]
 deps =
     flake8
 commands =
 deps =
     flake8
 commands =