env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
+ - python: "3.8"
+ env: TOXENV=py38
- python: "2.7"
env: TOXENV=py27-postgres
- python: "3.4"
env: TOXENV=py36-postgres
- python: "3.7"
env: TOXENV=py37-postgres
+ - python: "3.8"
+ env: TOXENV=py38-postgres
- python: "2.7"
env: TOXENV=py27-sqlite
- python: "3.4"
env: TOXENV=py36-sqlite
- python: "3.7"
env: TOXENV=py37-sqlite
+ - python: "3.8"
+ env: TOXENV=py38-sqlite
- 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
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
PYTHON_HOME: "C:\\Python37-x64"
+ - TOXENV: "py38"
+ PYTHON_VERSION: "3.8"
+ PYTHON_ARCH: "64"
+ PYTHON_HOME: "C:\\Python38-x64"
- TOXENV: "py27-postgres-w32"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
PYTHON_ARCH: "64"
PYTHON_HOME: "C:\\Python37-x64"
db: postgresql
+ - TOXENV: "py38-postgres-w32"
+ PYTHON_VERSION: "3.8"
+ PYTHON_ARCH: "64"
+ PYTHON_HOME: "C:\\Python38-x64"
+ db: postgresql
- TOXENV: "py27-sqlite-w32"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
PYTHON_HOME: "C:\\Python37-x64"
+ - TOXENV: "py38-sqlite-w32"
+ 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
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
],
packages=['sqlconvert'],
scripts=['scripts/mysql2sql'],
[tox]
minversion = 2.0
-envlist = py{27,34,35,36,37}{,-sqlite},py{27,37}-flake8
+envlist = py27,py3{4,5,6,7,8}{,-sqlite},py{27,38}-flake8
# Base test environment settings
[testenv]
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)"
[testenv:py37]
commands = {[general]commands}
+[testenv:py38]
+commands = {[general]commands}
+
# PostgreSQL test environments
[postgresql]
commands =
[testenv:py37-postgres]
commands = {[postgresql]commands}
+[testenv:py38-postgres]
+commands = {[postgresql]commands}
+
[postgres-w32]
platform = win32
commands =
cmd /c "copy devscripts\\CI\\validators.py {envsitepackagesdir}\\formencode\\validators.py"
{[postgres-w32]commands}
+[testenv:py38-postgres-w32]
+platform = win32
+commands =
+ {[postgres-w32]commands}
+
# SQLite test environments
[sqlite]
commands =
[testenv:py37-sqlite]
commands = {[sqlite]commands}
+[testenv:py38-sqlite]
+commands = {[sqlite]commands}
+
[sqlite-w32]
platform = win32
commands =
cmd /c "copy validators.py {envsitepackagesdir}\\formencode\\validators.py"
{[sqlite-w32]commands}
+[testenv:py38-sqlite-w32]
+platform = win32
+commands =
+ {[sqlite-w32]commands}
+
# flake8
[testenv:py27-flake8]
deps =
{[testenv]commands}
flake8
-[testenv:py37-flake8]
+[testenv:py38-flake8]
deps =
flake8
commands =