Commit c843a701 authored by Tres Seaver's avatar Tres Seaver

Merge pull request #47 from zopefoundation/skip-ipv6

Remove Python 2.6 support and skip ipv6 test on Travis
parents c2931d73 e63c2a39
language: python language: python
python: python:
- "2.6"
- "2.7" - "2.7"
notifications: notifications:
......
...@@ -11,6 +11,8 @@ http://docs.zope.org/zope2/ ...@@ -11,6 +11,8 @@ http://docs.zope.org/zope2/
Bugs Fixed Bugs Fixed
++++++++++ ++++++++++
- Skipped ipv6 test on Travis, because Travis no longer supports this.
- LP #789863: Ensure that Request objects cannot be published / traversed - LP #789863: Ensure that Request objects cannot be published / traversed
directly via a URL. directly via a URL.
...@@ -78,6 +80,8 @@ Features Added ...@@ -78,6 +80,8 @@ Features Added
Restructuring Restructuring
+++++++++++++ +++++++++++++
- Python 2.6 is no longer supported. Use Python 2.7.
- Products.SiteErrorLog: Is now a separated package. - Products.SiteErrorLog: Is now a separated package.
- OFS: Removed duplicate code in ZopeFind and ZopeFindAndApply - OFS: Removed duplicate code in ZopeFind and ZopeFindAndApply
......
...@@ -45,7 +45,6 @@ setup(name='Zope2', ...@@ -45,7 +45,6 @@ setup(name='Zope2',
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 2 :: Only", "Programming Language :: Python :: 2 :: Only",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: CPython",
], ],
......
...@@ -134,6 +134,8 @@ class ZServerConfigurationTestCase(BaseTest, WarningInterceptor): ...@@ -134,6 +134,8 @@ class ZServerConfigurationTestCase(BaseTest, WarningInterceptor):
self.assertEqual(server.port, 9381) self.assertEqual(server.port, 9381)
server.close() server.close()
@unittest.skipIf(os.environ.get('TRAVIS'),
'ipv6 is not available on Travis anymore')
def test_http_over_ipv6(self): def test_http_over_ipv6(self):
factory = self.load_factory("""\ factory = self.load_factory("""\
<http-server> <http-server>
...@@ -149,7 +151,7 @@ class ZServerConfigurationTestCase(BaseTest, WarningInterceptor): ...@@ -149,7 +151,7 @@ class ZServerConfigurationTestCase(BaseTest, WarningInterceptor):
self.assertEqual(server.ip, '::1') self.assertEqual(server.ip, '::1')
self.assertEqual(server.port, 9381) self.assertEqual(server.port, 9381)
server.close() server.close()
def test_http_factory_defaulthost(self): def test_http_factory_defaulthost(self):
factory = self.load_factory("""\ factory = self.load_factory("""\
<http-server> <http-server>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment