-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Python 3.6, 3.7 and PyPy3.
Drop support for Python 2.6 and 3.3.
- Loading branch information
Michael Howitz
committed
Oct 18, 2018
1 parent
be45bff
commit 5d1311a
Showing
7 changed files
with
35 additions
and
16 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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
[run] | ||
source = z3c.batching | ||
branch = True | ||
|
||
[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
language: python | ||
sudo: false | ||
python: | ||
- 2.6 | ||
- 2.7 | ||
- 3.3 | ||
- 3.4 | ||
- 3.5 | ||
- 3.6 | ||
- pypy | ||
- pypy3 | ||
matrix: | ||
include: | ||
- python: 3.7 | ||
dist: xenial | ||
sudo: true | ||
install: | ||
- pip install tox-travis | ||
- pip install -U pip setuptools | ||
- pip install -U coveralls coverage | ||
- pip install -U -e .[test] | ||
script: | ||
- tox | ||
- coverage run -m zope.testrunner --test-path=src | ||
after_success: | ||
- coveralls | ||
notifications: | ||
email: false | ||
cache: pip |
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,5 +1,4 @@ | ||
[buildout] | ||
index = http://download.zope.org/zope3.4 | ||
develop = . | ||
parts = test | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[bdist_wheel] | ||
universal = 1 |
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,28 +1,28 @@ | ||
[tox] | ||
envlist = py26,py27,py33,py34,py35,pypy | ||
envlist = py27,py34,py35,py36,py37,pypy,pypy3,coverage3 | ||
|
||
[testenv] | ||
deps = | ||
zope.testrunner | ||
commands = | ||
zope-testrunner --test-path=src {posargs:-pvc} | ||
zope-testrunner --test-path=src {posargs:-vc} | ||
|
||
[testenv:coverage2] | ||
usedevelop = true | ||
basepython = python2 | ||
basepython = python2.7 | ||
deps = | ||
{[testenv]deps} | ||
coverage | ||
commands = | ||
coverage run -m zope.testrunner --test-path=src {posargs:-pvc} | ||
coverage run -m zope.testrunner --test-path=src {posargs:-vc} | ||
coverage report -m | ||
|
||
[testenv:coverage3] | ||
usedevelop = true | ||
basepython = python3 | ||
basepython = python3.6 | ||
deps = | ||
{[testenv]deps} | ||
coverage | ||
commands = | ||
coverage run -m zope.testrunner --test-path=src {posargs:-pvc} | ||
coverage run -m zope.testrunner --test-path=src {posargs:-vc} | ||
coverage report -m |