diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2017-11-03 18:04:07 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2017-11-03 18:18:06 +0100 |
commit | 0f565c16f04e50123d572da11691f2fe5480abc3 (patch) | |
tree | 4c0b99bbbc86221ec84b6079da869fe5677527b8 /testsuite | |
parent | a0eeab0912fcfb72aa57fa9a6f612e8c6f3234ba (diff) | |
download | bcfg2-0f565c16f04e50123d572da11691f2fe5480abc3.tar.gz bcfg2-0f565c16f04e50123d572da11691f2fe5480abc3.tar.bz2 bcfg2-0f565c16f04e50123d572da11691f2fe5480abc3.zip |
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)
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |