allow travis-ci failures for python-nightly and also test 3.6-dev (but allow failures);

enable the onion site tor test because apparently travis-ci is allowing me to
install tor now, see https://travis-ci.org/internetarchive/warcprox/jobs/169101744
although https://github.com/travis-ci/apt-package-whitelist/issues/1753 is still open
This commit is contained in:
Noah Levitt 2016-10-19 18:23:01 -07:00
parent 8001dd09b3
commit fa1e8d3af4
3 changed files with 6 additions and 4 deletions

View File

@ -3,14 +3,16 @@ python:
- 3.5
- 3.4
- 2.7
- nightly
- pypy
- pypy3
- 3.6-dev
- nightly
matrix:
allow_failures:
- python: pypy
- python: pypy3
- python: nightly
- python: 3.6-dev
addons:
apt:

View File

@ -51,7 +51,7 @@ except:
setuptools.setup(
name='warcprox',
version='2.0b2.dev32',
version='2.0b2.dev33',
description='WARC writing MITM HTTP/S proxy',
url='https://github.com/internetarchive/warcprox',
author='Noah Levitt',

View File

@ -1099,7 +1099,7 @@ def test_domain_data_soft_limit(
# XXX this test relies on a tor proxy running at localhost:9050 with a working
# connection to the internet, and relies on a third party site (facebook) being
# up and behaving a certain way
def _test_tor_onion(archiving_proxies):
def test_tor_onion(archiving_proxies):
response = requests.get('http://www.facebookcorewwwi.onion/',
proxies=archiving_proxies, verify=False, allow_redirects=False)
assert response.status_code == 302