summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2017-01-02 23:03:17 +0000
committeriphydf <iphydf@users.noreply.github.com>2017-01-02 23:43:42 +0000
commit4e731bb43521dfc3c4f2444612d7b88b09df3346 (patch)
tree15290b511c98552e240cf6dddddbf2684f11c6d7
parent4dc38c086da49feab835eeaeacc0e8b5683c7136 (diff)
Fix SSL verification in coveralls.
-rwxr-xr-xother/travis/toxcore-linux-install7
1 files changed, 6 insertions, 1 deletions
diff --git a/other/travis/toxcore-linux-install b/other/travis/toxcore-linux-install
index 5cbe36db..d1acadce 100755
--- a/other/travis/toxcore-linux-install
+++ b/other/travis/toxcore-linux-install
@@ -12,7 +12,12 @@ git clone --depth=1 https://github.com/TokTok/apidsl ../apidsl
12make -C ../apidsl -j$NPROC 12make -C ../apidsl -j$NPROC
13 13
14# Install cpp-coveralls to upload test coverage results. 14# Install cpp-coveralls to upload test coverage results.
15pip install --user cpp-coveralls 15pip install --user urllib3[secure] cpp-coveralls
16
17# Work around https://github.com/eddyxu/cpp-coveralls/issues/108 by manually
18# installing the pyOpenSSL module and injecting it into urllib3 as per
19# https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2
20sed -i -e '/^import sys$/a import urllib3.contrib.pyopenssl\nurllib3.contrib.pyopenssl.inject_into_urllib3()' `which coveralls`
16 21
17# Install astyle (version in ubuntu-precise too old). 22# Install astyle (version in ubuntu-precise too old).
18[ -f $ASTYLE ] || { 23[ -f $ASTYLE ] || {