env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
+ - python: "3.7"
+ dist: xenial
+ env: TOXENV=py37
- python: "2.7"
env: TOXENV=py27-postgres
- python: "3.4"
env: TOXENV=py35-postgres
- python: "3.6"
env: TOXENV=py36-postgres
+ - python: "3.7"
+ dist: xenial
+ env: TOXENV=py37-postgres
- python: "2.7"
env: TOXENV=py27-sqlite
- python: "3.4"
env: TOXENV=py35-sqlite
- python: "3.6"
env: TOXENV=py36-sqlite
+ - python: "3.7"
+ dist: xenial
+ env: TOXENV=py37-sqlite
- python: "2.7"
env: TOXENV=py27-flake8
- - python: "3.4"
- env: TOXENV=py34-flake8
+ - python: "3.7"
+ dist: xenial
+ env: TOXENV=py37-flake8
install:
- travis_retry pip install --upgrade pip setuptools tox ppu
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
PYTHON_HOME: "C:\\Python27"
- - TOXENV: "py36"
- PYTHON_VERSION: "3.6"
+ - TOXENV: "py37"
+ PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
- PYTHON_HOME: "C:\\Python36-x64"
+ PYTHON_HOME: "C:\\Python37-x64"
- TOXENV: "py27-postgres-w32"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
PYTHON_HOME: "C:\\Python27"
db: postgresql
- - TOXENV: "py36-postgres-w32"
- PYTHON_VERSION: "3.6"
+ - TOXENV: "py37-postgres-w32"
+ PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
- PYTHON_HOME: "C:\\Python36-x64"
+ PYTHON_HOME: "C:\\Python37-x64"
db: postgresql
- TOXENV: "py27-sqlite-w32"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
PYTHON_HOME: "C:\\Python27"
- - TOXENV: "py36-sqlite-w32"
- PYTHON_VERSION: "3.6"
+ - TOXENV: "py37-sqlite-w32"
+ PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
- PYTHON_HOME: "C:\\Python36-x64"
+ PYTHON_HOME: "C:\\Python37-x64"
- TOXENV: "py27-flake8"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
PYTHON_HOME: "C:\\Python27"
- - TOXENV: "py34-flake8"
- PYTHON_VERSION: "3.4"
+ - TOXENV: "py37-flake8"
+ PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
- PYTHON_HOME: "C:\\Python34-x64"
+ PYTHON_HOME: "C:\\Python37-x64"
install:
# Ensure we use the right python version
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "python -m pip install --upgrade pip setuptools"
- - "pip install --upgrade tox ppu"
+ - "pip install --upgrade \"tox < 3.1\" ppu"
- "pip --version"
# No build step - we don't have C extensions
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
],
packages=['sqlconvert'],
scripts=['scripts/mysql2sql'],
[tox]
minversion = 2.0
-envlist = py{27,34,35,36,37}{,-sqlite},py{27,34}-flake8
+envlist = py{27,34,35,36,37}{,-sqlite},py{27,37}-flake8
# Base test environment settings
[testenv]
{[testenv]commands}
flake8
-[testenv:py34-flake8]
+[testenv:py37-flake8]
deps =
flake8
commands =