summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index e5536fc1..6837e5c6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -59,6 +59,8 @@ addons:
before_script:
# On macOS boost-python packaging is broken
- if [ "$TRAVIS_OS_NAME" = osx ]; then EXTRA_CMAKE_ARGS="-DBoost_NO_BOOST_CMAKE=ON"; fi
+ # Ensure cmake locates python 3.8. Brew changed boost-python3 to use 3.8 but it isn't in the path by default
+ - if [ "$TRAVIS_OS_NAME" = osx ]; then export PATH="/usr/local/opt/python@3.8/bin:$PATH"; fi
- cmake . -DUSE_PYTHON=ON -DPython_FIND_VERSION_MAJOR=${PY_MAJOR} -DBUILD_DEBUG=ON $EXTRA_CMAKE_ARGS
- make VERBOSE=1