env: TOXENV=py37
- python: "3.8"
env: TOXENV=py38
+ - python: "3.9"
+ env: TOXENV=py39
- python: "2.7"
env: TOXENV=py27-flake8
- - python: "3.8"
- env: TOXENV=py38-flake8
+ - python: "3.9"
+ env: TOXENV=py39-flake8
install:
- travis_retry pip install --upgrade "pip<21" "setuptools<44" tox ppu
# Heavily inspired by Oliver Grisel's appveyor-demo (https://github.com/ogrisel/python-appveyor-demo)
version: '{branch}-{build}'
+image: Visual Studio 2019
+
cache:
- '%LOCALAPPDATA%\pip\Cache'
PYTHON_VERSION: "3.8"
PYTHON_ARCH: "64"
PYTHON_HOME: "C:\\Python38-x64"
+ - TOXENV: "py39-sqlite-w32"
+ PYTHON_VERSION: "3.9"
+ PYTHON_ARCH: "32"
+ PYTHON_HOME: "C:\\Python39"
+ - TOXENV: "py39-sqlite-w32"
+ PYTHON_VERSION: "3.9"
+ PYTHON_ARCH: "64"
+ PYTHON_HOME: "C:\\Python39-x64"
install:
# Ensure we use the right python version
[tox]
minversion = 2.0
-envlist = py27,py3{4,5,6,7,8},py{27,38}-flake8
+envlist = py27,py3{4,5,6,7,8,9},py{27,39}-flake8
# Base test environment settings
[testenv]
py36: {env:TOXPYTHON:python3.6}
py37: {env:TOXPYTHON:python3.7}
py38: {env:TOXPYTHON:python3.8}
+ py39: {env:TOXPYTHON:python3.9}
commands =
{envpython} --version
{envpython} -c "import struct; print(struct.calcsize('P') * 8)"
[testenv:py38]
commands = {[general]commands}
+[testenv:py39]
+commands = {[general]commands}
+
[sqlite-w32]
platform = win32
commands =
commands =
{[sqlite-w32]commands}
+[testenv:py39-sqlite-w32]
+platform = win32
+commands =
+ {[sqlite-w32]commands}
+
# flake8
[testenv:py27-flake8]
deps =
{[testenv]commands}
flake8
-[testenv:py38-flake8]
+[testenv:py39-flake8]
deps =
flake8
commands =