diff --git a/.travis.yml b/.travis.yml index 86a4e4a..54bfbf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,5 +7,11 @@ python: - 3.5 - nightly script: - - python setup.py install + - pip install --upgrade pip + - | + if [[ ${TRAVIS_PYTHON_VERSION:0:1} == '2' ]]; then + pip install pyasn1==0.0.11a0 + fi - pip install -e '.[subjectAltName_support]' + - (cd /tmp && pip uninstall --yes ndg_httpsclient) + - python setup.py install diff --git a/setup.py b/setup.py index d566d50..03d81da 100644 --- a/setup.py +++ b/setup.py @@ -122,7 +122,7 @@ ], }, install_requires = ['PyOpenSSL'], - extras_require = {'subjectAltName_support': 'pyasn1'}, + extras_require = {'subjectAltName_support': ['pyasn1>=0.1.1']}, classifiers = [ 'Development Status :: 3 - Alpha', 'Environment :: Console',