From 0f565c16f04e50123d572da11691f2fe5480abc3 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 3 Nov 2017 18:04:07 +0100 Subject: travis-ci: Fix pip failure for older python versions The older python versions only ship with an old version of pip. Since some days SSL is required for downloading from pypi. We have to specify this explicitly because the older pip version only try http by default. (https://github.com/pypa/pip/issues/4817) --- testsuite/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/install.sh b/testsuite/install.sh index af07de0a9..1185f8981 100755 --- a/testsuite/install.sh +++ b/testsuite/install.sh @@ -5,7 +5,7 @@ PYVER=$(python -c 'import sys;print(".".join(str(v) for v in sys.version_info[0: SITE_PACKAGES=$(python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())') if [[ ${PYVER:0:1} == "2" && $PYVER != "2.7" && $PYVER != "2.6" ]]; then - pip install -r testsuite/requirements-legacy.txt + pip install --index-url=https://pypi.python.org/simple -r testsuite/requirements-legacy.txt else pip install --upgrade pip -- cgit v1.2.3-1-g7c22