diff options
author | Andy Clayton <q3aiml@gmail.com> | 2020-04-08 22:11:27 -0500 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2020-04-09 11:35:29 +0800 |
commit | 6b2d05306e9cac2ce5881d739fbbc86e365e7a9f (patch) | |
tree | 7d299df4e713941ad4cb56efe2fd8a8d663fa886 /.travis.yml | |
parent | 2250d7819b851a1d25e0f4e6444455bd2f1fb094 (diff) | |
download | fork-ledger-6b2d05306e9cac2ce5881d739fbbc86e365e7a9f.tar.gz fork-ledger-6b2d05306e9cac2ce5881d739fbbc86e365e7a9f.tar.bz2 fork-ledger-6b2d05306e9cac2ce5881d739fbbc86e365e7a9f.zip |
fix CI with brew changing to python 3.8
Brew changed boost-python3 to 3.8 but that isn't on the path by default.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
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 |