diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2020-02-01 18:27:10 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2020-02-01 19:14:18 +0100 |
commit | 5c0fd5f7efe83008a6316db23351b6dbc21af664 (patch) | |
tree | 8e8ab930c63ad2dcbde9ae88f7b9b4fbd4676c66 /.travis.sh | |
parent | cd9030cdc2107d95739730feb5ce1b24fac46ded (diff) | |
download | libexpat-git-5c0fd5f7efe83008a6316db23351b6dbc21af664.tar.gz |
Travis: Extend ${PATH} for brew Python 3 on macOS
Diffstat (limited to '.travis.sh')
-rwxr-xr-x | .travis.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ set -e if [[ ${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="/usr/local/opt/coreutils/libexec/gnubin${PATH:+:}${PATH}" elif [[ ${TRAVIS_OS_NAME} = linux ]]; then export PATH="/usr/lib/llvm-9/bin:${PATH}" |