diff options
author | Elvis Pranskevichus <elvis@magic.io> | 2018-03-30 23:09:00 -0400 |
---|---|---|
committer | Elvis Pranskevichus <elvis@magic.io> | 2018-03-31 01:11:02 -0400 |
commit | c5a649e2aecc3e968aba32e64ba2f45167d2ef94 (patch) | |
tree | 1ac30289d71c36b68e5b01baf3e79fed9718aeb2 /.ci | |
parent | a1b19e1d10896f3ac2ce0b97c2bf24e0c1c4520f (diff) | |
download | immutables-c5a649e2aecc3e968aba32e64ba2f45167d2ef94.tar.gz immutables-c5a649e2aecc3e968aba32e64ba2f45167d2ef94.zip |
immutables v0.2v0.2
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/build-manylinux-wheels.sh | 4 | ||||
-rwxr-xr-x | .ci/travis-build-wheels.sh | 3 |
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 |