Skip to content

Commit

Permalink
Merge e3b8227 into ac9d1ca
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Feb 11, 2017
2 parents ac9d1ca + e3b8227 commit 184247f
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
source = ZConfig
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ develop-eggs/
eggs/
parts/
doc/_build
htmlcov/
.coverage
17 changes: 13 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ python:
- 3.3
- 3.4
- 3.5
- pypy
- pypy3
- 3.6
- pypy-5.4.1
- pypy3.3-5.2-alpha1
install:
- pip install .
- pip install -U pip setuptools
- pip install -U coverage coveralls
- pip install -U -e .[test]
script:
- python setup.py -q test -q
- coverage run setup.py -q test -q
notifications:
email: false
after_success:
- coveralls

cache: pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Change History for ZConfig
3.2.0 (unreleased)
------------------

- Drop support for Python 2.6 and 3.2.
- Drop support for Python 2.6 and 3.2 and add support for Python 3.6.

- Run tests with pypy and pypy3 as well.

Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ doc_files =
README.txt
doc/schema.dtd
doc/zconfig.pdf

[bdist_wheel]
universal = 1
13 changes: 10 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ def alltests():
suites = list(zope.testrunner.find.find_suites(options))
return unittest.TestSuite(suites)

tests_require = [
'zope.testrunner',
]

options = dict(
name="ZConfig",
version='3.2.0.dev0',
Expand Down Expand Up @@ -56,16 +60,19 @@ def alltests():
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Operating System :: OS Independent',
'Topic :: Software Development',
],
# Support for 'setup.py test' when setuptools is available:
test_suite='__main__.alltests',
tests_require=[
'zope.testrunner',
],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
)

try:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py33,py34,py35
envlist = py27,py33,py34,py35,py36

[testenv]
commands =
Expand Down

0 comments on commit 184247f

Please sign in to comment.