-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop support for Python 3.4; add support for 3.8. (#23)
Refactor tox.ini.
- Loading branch information
Michael Howitz
committed
Mar 27, 2020
1 parent
96bf981
commit f93a575
Showing
9 changed files
with
22 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,6 @@ source = | |
ComputedAttribute | ||
ExtensionClass | ||
MethodObject | ||
omit = | ||
tests/*.py | ||
bootstrap.py | ||
|
||
[report] | ||
precision = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,28 @@ | ||
[tox] | ||
envlist = | ||
py27,py27-pure,py34,py34-pure,py35,py35-pure,py36,py36-pure,py37,py37-pure, pypy,pypy3,coverage | ||
py27, py27-pure, | ||
py35, py35-pure, | ||
py36, py36-pure, | ||
py37, py37-pure, | ||
py38, py38-pure, | ||
pypy, | ||
pypy3, | ||
coverage | ||
|
||
[testenv] | ||
install_command = pip install {opts} {packages} | ||
commands = | ||
zope-testrunner --test-path=src | ||
deps = | ||
.[test] | ||
|
||
[testenv:py27-pure] | ||
basepython = | ||
python2.7 | ||
setenv = | ||
PURE_PYTHON = 1 | ||
|
||
[testenv:py34-pure] | ||
basepython = | ||
python3.4 | ||
setenv = | ||
PURE_PYTHON = 1 | ||
|
||
[testenv:py35-pure] | ||
basepython = | ||
python3.5 | ||
extras = test | ||
setenv = | ||
PURE_PYTHON = 1 | ||
|
||
[testenv:py36-pure] | ||
basepython = | ||
python3.6 | ||
setenv = | ||
PURE_PYTHON = 1 | ||
|
||
[testenv:py37-pure] | ||
basepython = | ||
python3.7 | ||
setenv = | ||
PURE_PYTHON = 1 | ||
pure,coverage: PURE_PYTHON = 1 | ||
|
||
[testenv:coverage] | ||
usedevelop = true | ||
basepython = | ||
python3.6 | ||
python3.7 | ||
commands = | ||
coverage run -m zope.testrunner --test-path=src | ||
coverage report --fail-under=100 | ||
deps = | ||
{[testenv]deps} | ||
coverage | ||
setenv = | ||
PURE_PYTHON = 1 |