-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Howitz
committed
May 26, 2017
1 parent
365d762
commit 2966381
Showing
6 changed files
with
61 additions
and
42 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[run] | ||
branch = True | ||
source = zope.browsermenu | ||
|
||
[report] | ||
precision = 2 | ||
|
||
[paths] | ||
source = | ||
src/ | ||
.tox/py*/lib/python*/site-packages/ | ||
.tox/pypy*/site-packages/ |
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,9 +1,13 @@ | ||
*.pyc | ||
.coverage | ||
.coverage.* | ||
.installed.cfg | ||
__pycache__ | ||
coverage.xml | ||
src/*.egg-info | ||
|
||
.installed.cfg | ||
.tox | ||
bin | ||
develop-eggs | ||
parts | ||
.tox/ | ||
bin/ | ||
develop-eggs/ | ||
htmlcov/ | ||
parts/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,33 @@ | ||
[tox] | ||
envlist = | ||
py27,pypy,py33,py34,py35,pypy3 | ||
py27, | ||
py33, | ||
py34, | ||
py35, | ||
py36, | ||
pypy, | ||
pypy3, | ||
coverage-report, | ||
|
||
[testenv] | ||
commands = | ||
python setup.py -q test -q | ||
# without explicit deps, setup.py test will download a bunch of eggs into $PWD | ||
# (and it seems I can't use zope.dottedname[testing] here, so forget DRY) | ||
coverage run -m zope.testrunner --test-path=src {posargs:-vc} | ||
deps = | ||
zope.browser | ||
zope.component | ||
zope.configuration | ||
zope.i18nmessageid | ||
zope.interface | ||
zope.pagetemplate | ||
zope.publisher | ||
zope.schema | ||
zope.security | ||
zope.traversing | ||
zope.testing | ||
.[test] | ||
zope.testrunner | ||
coverage | ||
setenv = | ||
COVERAGE_FILE=.coverage.{envname} | ||
|
||
[testenv:coverage-report] | ||
basepython = python2.7 | ||
deps = coverage | ||
setenv = | ||
COVERAGE_FILE=.coverage | ||
skip_install = true | ||
commands = | ||
coverage erase | ||
coverage combine | ||
coverage html | ||
coverage xml | ||
coverage report --show-missing |