Add GitLab CI/CD support (#2163)

* Use GitLab CI/CD

* Force colored tests

* Get rid of an error

* Mark tests as slow

* Disable codecov & coveralls

* Python 3.5-3.8

* Add Python 3.4

* Support both OpenSSL 1.1.0 and 1.1.1+

* Test both OpenSSL 1.1.0 and 1.1.1+

* Fix OpenSSL 1.1.1

* Fix Python 3.4 build
This commit is contained in:
Ivanq 2019-08-19 15:30:31 +00:00 committed by ZeroNet
parent 155d8d4dfd
commit 01ff89315b
6 changed files with 67 additions and 8 deletions

View file

@ -26,9 +26,16 @@ def loadLib(lib_name):
import bitcoin.core.key
import bitcoin.wallet
try:
# OpenSSL 1.1.0
ssl_version = bitcoin.core.key._ssl.SSLeay()
except AttributeError:
# OpenSSL 1.1.1+
ssl_version = bitcoin.core.key._ssl.OpenSSL_version_num()
logging.info(
"OpenSSL loaded: %s, version: %.9X in %.3fs" %
(bitcoin.core.key._ssl, bitcoin.core.key._ssl.SSLeay(), time.time() - s)
(bitcoin.core.key._ssl, ssl_version, time.time() - s)
)