summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/build-manylinux-wheels.sh4
-rwxr-xr-x.ci/travis-build-wheels.sh3
2 files changed, 3 insertions, 4 deletions
diff --git a/.ci/build-manylinux-wheels.sh b/.ci/build-manylinux-wheels.sh
index 6d78104..0cab659 100755
--- a/.ci/build-manylinux-wheels.sh
+++ b/.ci/build-manylinux-wheels.sh
@@ -8,7 +8,7 @@ PIP="/opt/python/${PYTHON_VERSION}/bin/pip"
${PIP} install --upgrade pip wheel
${PIP} install --upgrade setuptools
${PIP} install -r /io/.ci/requirements.txt
-make -C /io/ PYTHON="${PYTHON}"
+rm -rf /io/build
${PIP} wheel /io/ -w /io/dist/
# Bundle external shared libraries into the wheels.
@@ -25,5 +25,5 @@ PYTHON="/opt/python/${PYTHON_VERSION}/bin/python"
PIP="/opt/python/${PYTHON_VERSION}/bin/pip"
${PIP} install ${PYMODULE} --no-index -f file:///io/dist
rm -rf /io/tests/__pycache__
-make -C /io/ PYTHON="${PYTHON}" testinstalled
+"${PYTHON}" /io/tests/__init__.py
rm -rf /io/tests/__pycache__
diff --git a/.ci/travis-build-wheels.sh b/.ci/travis-build-wheels.sh
index 92771bd..a7fafb9 100755
--- a/.ci/travis-build-wheels.sh
+++ b/.ci/travis-build-wheels.sh
@@ -58,12 +58,11 @@ if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
elif [ "${TRAVIS_OS_NAME}" == "osx" ]; then
export PGINSTALLATION="/usr/local/opt/postgresql@${PGVERSION}/bin"
- make clean && make -C "${_root}"
pip wheel "${_root}" -w "${_root}/dist/"
pip install ${PYMODULE} --no-index -f "file:///${_root}/dist"
pushd / >/dev/null
- make -C "${_root}" testinstalled
+ python "${_root}/tests/__init__.py"
popd >/dev/null
_upload_wheels