Skip to content

Commit

Permalink
Modernize supported Python versions
Browse files Browse the repository at this point in the history
Also rewrite .travis.yml to use zope-testrunner directly, avoiding
tox.
  • Loading branch information
mgedmin committed Apr 25, 2019
1 parent 2b79656 commit 6aa3c1f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
20 changes: 12 additions & 8 deletions .travis.yml
@@ -1,12 +1,16 @@
language: python
sudo: false
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
dist: xenial
python:
- 2.7
- 3.5
- 3.6
- 3.7
install:
- travis_retry pip install tox
- pip install zope.testrunner coverage coveralls
- pip install -e .[test]
script:
- tox
- coverage run -m zope.testrunner --test-path=src -vc
after_success:
- coveralls
notifications:
email: false
email: false
6 changes: 5 additions & 1 deletion CHANGES.txt
Expand Up @@ -5,7 +5,9 @@ CHANGES
2.0.1 (unreleased)
------------------

- Nothing changed yet.
- Added support for Python 3.5, 3.6, and 3.7.

- Dropped support for Python 2.6, 3.3, and 3.4.


2.0.0 (2015-11-09)
Expand Down Expand Up @@ -37,12 +39,14 @@ CHANGES
- Using Python's ``doctest`` module instead of depreacted
``zope.testing.doctest``.


1.1.0 (2009-05-29)
------------------

- Feature: Added ability to register a Null-adapter as a breadcrumb. A
null-breadcrumb will cause the item not to be displayed in the breadcrumbs.


1.0.3 (2008-12-13)
------------------

Expand Down
8 changes: 5 additions & 3 deletions setup.py
Expand Up @@ -43,16 +43,18 @@ def read(*rnames):
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Natural Language :: English',
'Operating System :: OS Independent',
'Environment :: Web Environment',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope :: 3'],
'Framework :: Zope :: 3',
],
url = 'http://pypi.python.org/pypi/z3c.breadcrumb',
packages = find_packages('src'),
package_dir = {'':'src'},
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
py26,py27,py33
py27,py35,py36,py37

[testenv]
commands =
Expand Down

0 comments on commit 6aa3c1f

Please sign in to comment.