diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d838cc4fd68163b8bbd3e1aeae42acf223b96b93..0000000000000000000000000000000000000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -notifications: - email: false -if: tag IS present -matrix: - include: - - sudo: required - services: - - docker - env: - - DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64 - - sudo: required - services: - - docker - env: - - DOCKER_IMAGE=quay.io/pypa/manylinux1_i686 - - PRE_CMD=linux32 -install: - - docker pull $DOCKER_IMAGE -script: - - pwd - - ls -la - - docker run --rm -v `pwd`:/io -e TWINE_USERNAME -e TWINE_PASSWORD $DOCKER_IMAGE $PRE_CMD /io/travis/build-wheels.sh - - ls wheelhouse/ diff --git a/travis/build-wheels.sh b/travis/build-wheels.sh deleted file mode 100755 index 22df67a7756ccc23f71c53f0e92c940419c6a27f..0000000000000000000000000000000000000000 --- a/travis/build-wheels.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash -set -e -x - -export PYHOME=/home -export CL_H=${PYHOME}/cl_h -export CL_ICDLOAD=${PYHOME}/cl_icdload - -cd ${PYHOME} -yum install -y git cmake -git clone https://github.com/KhronosGroup/OpenCL-Headers.git ${CL_H} -git clone https://github.com/KhronosGroup/OpenCL-ICD-Loader.git ${CL_ICDLOAD} -ln -s ${CL_H}/CL /usr/include/CL -make -C ${CL_ICDLOAD} -cp -r ${CL_ICDLOAD}/build/lib/lib* /usr/lib - -# Compile wheels -for PYBIN in /opt/python/*/bin; do - "${PYBIN}/pip" install numpy pybind11 mako - "${PYBIN}/pip" wheel /io/ -w wheelhouse/ -done - -# Bundle external shared libraries into the wheels -for whl in wheelhouse/*.whl; do - auditwheel repair "$whl" -w /io/wheelhouse/ -done - -/opt/python/cp37-cp37m/bin/pip install twine -for WHEEL in /io/wheelhouse/pyopencl*.whl; do - # dev - # /opt/python/cp37-cp37m/bin/twine upload \ - # --skip-existing \ - # --repository-url https://test.pypi.org/legacy/ \ - # -u "${TWINE_USERNAME}" -p "${TWINE_PASSWORD}" \ - # "${WHEEL}" - # prod - /opt/python/cp37-cp37m/bin/twine upload \ - --skip-existing \ - -u "${TWINE_USERNAME}" -p "${TWINE_PASSWORD}" \ - "${WHEEL}" -done