summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-06 13:32:53 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-06 15:11:30 +0100
commit32597e7e7784049927291e6d8ad131a2b8227d0e (patch)
tree911809dc6ac98dc5c2d096aaa1c30b2342f6eb11 /.ci
parentc47b78c80a93c3c85cb879c95564448dce9fe3ed (diff)
downloadefl-32597e7e7784049927291e6d8ad131a2b8227d0e.tar.gz
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
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/ci-make.sh2
1 files changed, 2 insertions, 0 deletions
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