Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zope.proxy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
zope.proxy
Commits
09f0a152
Commit
09f0a152
authored
Jun 06, 2012
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for continuous integration using 'tox' and 'jenkins'.
parent
adf40692
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
11 deletions
+46
-11
.bzrignore
.bzrignore
+4
-0
CHANGES.txt
CHANGES.txt
+2
-0
setup.py
setup.py
+1
-11
tox.ini
tox.ini
+39
-0
No files found.
.bzrignore
View file @
09f0a152
...
@@ -2,3 +2,7 @@
...
@@ -2,3 +2,7 @@
build
build
*.egg-info
*.egg-info
_build
_build
.tox
nosetests.xml
coverage.xml
__pycache__
CHANGES.txt
View file @
09f0a152
...
@@ -5,6 +5,8 @@ CHANGES
...
@@ -5,6 +5,8 @@ CHANGES
4.0.0 (unreleased)
4.0.0 (unreleased)
------------------
------------------
- Added support for continuous integration using ``tox`` and ``jenkins``.
- 100% unit test coverage.
- 100% unit test coverage.
- Added Sphinx documentation: moved doctest examples to API reference.
- Added Sphinx documentation: moved doctest examples to API reference.
...
...
setup.py
View file @
09f0a152
...
@@ -21,15 +21,6 @@
...
@@ -21,15 +21,6 @@
import
os
,
sys
import
os
,
sys
from
setuptools
import
setup
,
Extension
from
setuptools
import
setup
,
Extension
if
sys
.
version_info
>=
(
3
,):
extra
=
dict
(
use_2to3
=
True
,
convert_2to3_doctests
=
[
'src/zope/i18nmessageid/messages.txt'
,
],
)
else
:
extra
=
{}
def
read
(
*
rnames
):
def
read
(
*
rnames
):
return
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
*
rnames
)).
read
()
return
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
*
rnames
)).
read
()
...
@@ -79,5 +70,4 @@ setup(name='zope.proxy',
...
@@ -79,5 +70,4 @@ setup(name='zope.proxy',
'testing'
:
[
'nose'
,
'coverage'
],
'testing'
:
[
'nose'
,
'coverage'
],
'docs'
:
[
'Sphinx'
,
'repoze.sphinx.autointerface'
],
'docs'
:
[
'Sphinx'
,
'repoze.sphinx.autointerface'
],
},
},
**
extra
)
)
tox.ini
0 → 100644
View file @
09f0a152
[tox]
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
py26,py27,py32,coverage,docs
[testenv]
commands
=
python setup.py test -q
[testenv:jython]
commands
=
jython setup.py test -q
[testenv:coverage]
basepython
=
python2.6
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.proxy
pip
install
-e
.
nosetests
--with-xunit
--with-xcoverage
deps
=
nose
coverage
nosexcover
[testenv:docs]
basepython
=
python2.6
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
=
Sphinx
repoze.sphinx.autointerface
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment