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 <stefan@datenfreihafen.org>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11461
This commit is contained in:
Marcel Hollerbach 2020-03-06 13:32:53 +01:00
parent c47b78c80a
commit 32597e7e77
1 changed files with 2 additions and 0 deletions

View File

@ -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