From 531c80f0fccad6b7f4c210821ebc2c8ee7e94c56 Mon Sep 17 00:00:00 2001 From: Arseny Antonov <arseny.antonov@gmail.com> Date: Wed, 11 Apr 2018 10:02:07 +0300 Subject: [PATCH] =?UTF-8?q?Fix=20PyPI=20TLS=20connection=20failures=20in?= =?UTF-8?q?=20CI=20on=20OS=20X=20=20=E2=80=A6=20(#3336)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The reason of the failures is TLSv1.0/TLSv1.1 brownout on the PyPI side, see [1] for more information. [1]: pypa/packaging-problems#130 --- .travis.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.mk b/.travis.mk index 8fb3226990..66c921aa79 100644 --- a/.travis.mk +++ b/.travis.mk @@ -47,7 +47,6 @@ test_ubuntu: deps_ubuntu deps_osx: brew update brew install openssl readline curl icu4c --force - pip install -r test-run/requirements.txt --user test_osx: deps_osx cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo @@ -58,7 +57,13 @@ test_osx: deps_osx ulimit -S -n 20480 || : ulimit -n make -j8 - cd test && python test-run.py -j -1 unit/ app/ app-tap/ box/ box-tap/ + virtualenv ./test-env && \ + . ./test-env/bin/activate && \ + curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | python && \ + pip --version && \ + pip install -r test-run/requirements.txt && \ + cd test && python test-run.py -j -1 unit/ app/ app-tap/ box/ box-tap/ && \ + deactivate coverage_ubuntu: deps_ubuntu cmake . -DCMAKE_BUILD_TYPE=Debug -DENABLE_GCOV=ON -- GitLab