From 32597e7e7784049927291e6d8ad131a2b8227d0e Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Fri, 6 Mar 2020 13:32:53 +0100 Subject: [PATCH] ci: make ci work again because of some reasons, python now hides in a different PATH, which is not *always* added to the PATH env variable. Reviewed-by: Stefan Schmidt Reviewed-by: Mike Blumenkrantz Differential Revision: https://phab.enlightenment.org/D11461 --- .ci/ci-make.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/ci-make.sh b/.ci/ci-make.sh index 5611f5dca4..9d0574a5cf 100755 --- a/.ci/ci-make.sh +++ b/.ci/ci-make.sh @@ -22,6 +22,8 @@ if [ "$DISTRO" != "" ] ; then docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build fi elif [ "$TRAVIS_OS_NAME" = "osx" ]; then + latest_brew_python3_bin="$(ls -1d /usr/local/Cellar/python/3.*/bin | sort -n | tail -n1)" + export PATH="${latest_brew_python3_bin}${PATH:+:}${PATH}" export PATH="$(brew --prefix gettext)/bin:$PATH" ninja -C build else