From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp57.i.mail.ru (smtp57.i.mail.ru [217.69.128.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 897B94696C3 for ; Thu, 9 Apr 2020 11:41:02 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Thu, 9 Apr 2020 11:40:58 +0300 Message-Id: <044078cbcecdf7a18e12897cd0fa50d70bf33c03.1586421151.git.avtikhon@tarantool.org> In-Reply-To: References: In-Reply-To: References: Subject: [Tarantool-patches] [PATCH v1 1/2] build: disable at OSX curl SSL List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Oleg Piskunov , Sergey Bronnikov Cc: tarantool-patches@dev.tarantool.org Formula tntpython2.rb consist of the packages which download target host does not have valid SSL certificate, disabled curl SSL check for it. --- .travis.mk | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.travis.mk b/.travis.mk index f709a18b6..e79d50b19 100644 --- a/.travis.mk +++ b/.travis.mk @@ -151,7 +151,7 @@ test_static_docker_build: # since Python 2 is EOL it's latest commit from tapped local formula is used OSX_PKGS=openssl readline curl icu4c libiconv zlib autoconf automake libtool \ - cmake file://$${PWD}/tools/brew_taps/tntpython2.rb + cmake deps_osx: # install brew using command from Homebrew repository instructions: @@ -164,7 +164,18 @@ deps_osx: # try to install the packages either upgrade it to avoid of fails # if the package already exists with the previous version brew install --force ${OSX_PKGS} || brew upgrade ${OSX_PKGS} - pip install --force-reinstall -r test-run/requirements.txt + # Formula tntpython2.rb consist of the packages which download target + # host does not have valid SSL certificate, disabled curl SSL + # check for it. + echo insecure >>$${HOME}/.curlrc + brew install --force file://$${PWD}/tools/brew_taps/tntpython2.rb || true + sed '$$d' $${HOME}/.curlrc >$${HOME}/.curlrc.new && \ + mv $${HOME}/.curlrc.new $${HOME}/.curlrc + python2 -V + pip install --trusted-host files.pythonhosted.org \ + --upgrade pip setuptools + pip install --trusted-host files.pythonhosted.org \ + --force-reinstall -r test-run/requirements.txt build_osx: cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_WERROR=ON ${CMAKE_EXTRA_PARAMS} -- 2.17.1