This commit is contained in:
Tim Rühsen 2017-01-04 20:25:38 +01:00
parent 1a06a6c888
commit 71059c2c6d
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
#!/bin/bash
make check-coverage-libicu
pip install --user cpp-coveralls
pip install --user urllib3[secure] cpp-coveralls
# Work around https://github.com/eddyxu/cpp-coveralls/issues/108 by manually
# installing the pyOpenSSL module and injecting it into urllib3 as per
# https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2
sed -i -e '/^import sys$/a import urllib3.contrib.pyopenssl\nurllib3.contrib.pyopenssl.inject_into_urllib3()' `which coveralls`
coveralls -t d9uGTP4NSD092kh2b85aDSsEDxatcYC6F --include src/