[tarantool-patches] [PATCH v2] travis-ci: needs blind install for brew python2

Alexander V. Tikhonov avtikhon at tarantool.org
Fri Jun 7 18:10:46 MSK 2019


Travis-ci failed on brew install python2 due to it was
allready installed on OSX 10.13 Sierra, so it needs
to be installed without fails on its exists.

Closes #4254
---

Github: https://github.com/tarantool/tarantool/tree/avtikhon/fix-sierra-brew
Issue: https://github.com/tarantool/tarantool/issues/4254

 .travis.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.mk b/.travis.mk
index e3bf28c53..6d0c42207 100644
--- a/.travis.mk
+++ b/.travis.mk
@@ -49,7 +49,8 @@ test_ubuntu: deps_ubuntu
 
 deps_osx:
 	brew update
-	brew install python2 openssl readline curl icu4c --force
+	brew install openssl readline curl icu4c --force
+	python2 -V || brew install python2 --force
 	curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | python
 	pip install -r test-run/requirements.txt
 
-- 
2.17.1





More information about the Tarantool-patches mailing list