-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken doctests and run doctests on all versions
``zope.catalog.tests.placelessSetUp`` was removed so doctests didn't run anymore. Also some project updates: - Remove claim to support Python 3.3. This hasn't been tested on Travis for some time. Also remove 3.3 from tox.ini. - Modern coverage tox environment. - Run doctests on travis. - Fix broken badge and add version badges. - Use modern PyPy on Travis. - DRY in 'rtd.txt'. Incidentally, this probably fixes #9
- Loading branch information
Showing
9 changed files
with
71 additions
and
82 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
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 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,14 +1 @@ | ||
BTrees | ||
repoze.sphinx.autointerface | ||
ZODB | ||
zope.annotation | ||
zope.intid | ||
zope.component | ||
zope.container | ||
zope.index | ||
zope.interface | ||
zope.lifecycleevent | ||
zope.location | ||
zope.schema | ||
zope.site | ||
zope.testing | ||
.[docs] |
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,32 +1,29 @@ | ||
[tox] | ||
envlist = | ||
py27,py33,py34,py35,py36,pypy,pypy3,coverage,docs | ||
py27,py34,py35,py36,pypy,pypy3,coverage,docs | ||
|
||
[testenv] | ||
commands = | ||
zope-testrunner --test-path=src [] | ||
sphinx-build -b doctest -d {envdir}/doctrees docs {envdir}/doctest | ||
deps = | ||
.[test] | ||
.[test,docs] | ||
|
||
[testenv:coverage] | ||
usedevelop = true | ||
basepython = | ||
python2.7 | ||
commands = | ||
nosetests --with-xunit --with-xcoverage | ||
coverage run -m zope.testrunner --test-path=src [] | ||
coverage run -a -m sphinx -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest | ||
coverage report --fail-under=100 | ||
deps = | ||
{[testenv]deps} | ||
nose | ||
coverage | ||
nosexcover | ||
|
||
[testenv:docs] | ||
basepython = | ||
python2.7 | ||
commands = | ||
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html | ||
sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest | ||
deps = | ||
{[testenv]deps} | ||
Sphinx | ||
repoze.sphinx.autointerface |