Skip to content

Commit 5030489

Browse files
committed
Fix testing of wheels on macOS.
1 parent 59228c7 commit 5030489

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.ci/travis-before-install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,7 @@ if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
4343
else
4444
brew install postgresql@${PGVERSION}
4545
fi
46+
47+
brew cleanup postgresql@${PGVERSION}
48+
brew services start postgresql@${PGVERSION}
4649
fi

.ci/travis-build-wheels.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
5656
done
5757

5858
elif [ "${TRAVIS_OS_NAME}" == "osx" ]; then
59+
export PGINSTALLATION="/usr/local/opt/postgresql@${PGVERSION}/bin"
60+
5961
make clean && make -C "${_root}"
6062
pip wheel "${_root}" -w "${_root}/dist/"
6163

0 commit comments

Comments
 (0)