Skip to content

Commit

Permalink
- Add support for Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Oct 26, 2020
1 parent 4d39a36 commit 977a9bb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,24 @@ matrix:
include:
- python: "3.6"
env: TOXENV=flake8
after_success:
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
dist: xenial
- python: "3.8"
env: TOXENV=py38
dist: xenial
- python: "3.9-dev"
env: TOXENV=py39

install:
- travis_retry pip install -U pip setuptools
- travis_retry pip install -U tox coveralls coverage
- pip install -U pip setuptools
- pip install -U tox coveralls coverage

script:
- travis_retry tox
- tox

after_success:
- coverage combine
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Changelog
4.0 (unreleased)
----------------

- Add support for Python 3.9

- Restore ``sql_quote`` behavior of always returning native strings
(`#54 <https://github.com/zopefoundation/DocumentTemplate/issues/54>`_)

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Text Processing :: Markup",
],
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ envlist =
py36,
py37,
py38,
flake8,
py39,
lint,
coverage

[testenv]
Expand All @@ -27,6 +28,7 @@ depends =
py36,
py37,
py38,
py39,
setenv =
COVERAGE_FILE=.coverage
commands =
Expand All @@ -36,7 +38,7 @@ commands =
coverage xml
coverage report

[testenv:flake8]
[testenv:lint]
basepython = python3
commands_pre =
mkdir -p {toxinidir}/parts/flake8
Expand Down

0 comments on commit 977a9bb

Please sign in to comment.