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
Showing
8 changed files
with
114 additions
and
47 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,13 @@ | ||
language: python | ||
python: | ||
- 2.6 | ||
- 2.7 | ||
- 3.2 | ||
- 3.3 | ||
- pypy | ||
install: | ||
- pip install . --use-mirrors | ||
script: | ||
- python setup.py test -q | ||
notifications: | ||
email: false |
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,5 +1,5 @@ | ||
[buildout] | ||
develop = . | ||
develop = . | ||
parts = test coverage-test coverage-report | ||
|
||
[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
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,75 +1,63 @@ | ||
[tox] | ||
envlist = | ||
envlist = | ||
# Jython support pending 2.7 support, due 2012-07-15 or so. See: | ||
# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html | ||
# py26,py27,py32,jython,pypy,coverage | ||
# py32 support pending zope.component | ||
# py26,py27,py32,pypy,coverage,docs | ||
py26,py27,pypy,coverage,docs | ||
py26,py27,py32,py33,pypy,coverage,docs | ||
|
||
[testenv] | ||
commands = | ||
commands = | ||
python setup.py test -q | ||
deps = | ||
zope.configuration>=4.0 | ||
zope.configuration | ||
zope.copy | ||
zope.interface>=4.0 | ||
zope.proxy>=4.0 | ||
zope.schema>=4.0 | ||
zope.interface | ||
zope.proxy | ||
zope.schema | ||
|
||
[testenv:jython] | ||
commands = | ||
commands = | ||
jython setup.py test -q | ||
deps = | ||
zope.configuration>=4.0 | ||
zope.configuration | ||
zope.copy | ||
zope.interface>=4.0 | ||
zope.proxy>=4.0 | ||
zope.schema>=4.0 | ||
|
||
[testenv:py32] | ||
commands = | ||
python setup.py test -q | ||
deps = | ||
zope.configuration>=4.0 | ||
# zope.copy>=4.0 not yet ported | ||
zope.interface>=4.0 | ||
zope.proxy>=4.0 | ||
zope.schema>=4.0 | ||
zope.interface | ||
zope.proxy | ||
zope.schema | ||
|
||
[testenv:coverage] | ||
basepython = | ||
python2.6 | ||
commands = | ||
commands = | ||
# The installed version messes up nose's test discovery / coverage reporting | ||
# So, we uninstall that from the environment, and then install the editable | ||
# version, before running nosetests. | ||
pip uninstall -y zope.location | ||
pip install -e . | ||
nosetests --with-xunit --with-xcoverage | ||
deps = | ||
zope.configuration>=4.0 | ||
zope.configuration | ||
zope.copy | ||
zope.interface>=4.0 | ||
zope.proxy>=4.0 | ||
zope.schema>=4.0 | ||
zope.component>=3.8 | ||
zope.interface | ||
zope.proxy | ||
zope.schema | ||
zope.component | ||
nose | ||
coverage | ||
nosexcover | ||
|
||
[testenv:docs] | ||
basepython = | ||
python2.6 | ||
commands = | ||
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 = | ||
zope.configuration>=4.0 | ||
zope.configuration | ||
zope.copy | ||
zope.interface>=4.0 | ||
zope.proxy>=4.0 | ||
zope.schema>=4.0 | ||
zope.component>=3.8 | ||
zope.interface | ||
zope.proxy | ||
zope.schema | ||
zope.component | ||
Sphinx | ||
repoze.sphinx.autointerface |