From 0ec0352fef31d2f35e405187bb548369010ca065 Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Thu, 12 May 2022 16:38:38 +0100 Subject: [PATCH] Remove dead Travis CI --- .travis.yml | 16 ---------------- README.rst | 3 --- make/manylinux1/build.sh | 27 --------------------------- make/manylinux1/build_wheels.sh | 10 ---------- make/osx/build_wheels.sh | 28 ---------------------------- make/osx/install_python.sh | 13 ------------- 6 files changed, 97 deletions(-) delete mode 100644 .travis.yml delete mode 100755 make/manylinux1/build.sh delete mode 100755 make/manylinux1/build_wheels.sh delete mode 100755 make/osx/build_wheels.sh delete mode 100755 make/osx/install_python.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 04865eb..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: generic - -jobs: - include: - - os: linux - language: python - services: - - docker - script: - - ./make/manylinux1/build_wheels.sh - - os: osx - osx_image: xcode9.4 - script: - - ./make/osx/build_wheels.sh -install: - - if [ "${TRAVIS_OS_NAME:-}" == "osx" ]; then ./make/osx/install_python.sh; fi diff --git a/README.rst b/README.rst index 9e974a4..591f877 100644 --- a/README.rst +++ b/README.rst @@ -1,9 +1,6 @@ Welcome ======= -.. image:: https://travis-ci.org/wolfSSL/wolfssl-py.svg?branch=master - :target: https://travis-ci.org/wolfSSL/wolfssl-py - **wolfSSL Python**, a.k.a. ``wolfssl`` is a Python module that encapsulates `wolfSSL's SSL/TLS library `_. diff --git a/make/manylinux1/build.sh b/make/manylinux1/build.sh deleted file mode 100755 index de572ee..0000000 --- a/make/manylinux1/build.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -set -e -x - -# preserve dist -if [ -d dist ]; then mv dist tmpdist; fi - -# Compile wheels -for PYBIN in /opt/python/*/bin; do - "${PYBIN}/python" setup.py bdist_wheel - rm -rf .eggs -done - -# Bundle external shared libraries into the wheels -for whl in dist/wolfssl*.whl; do - auditwheel repair "$whl" -w tmpdist/ -done - -# restore dist -rm -rf dist && mv tmpdist dist - -# Install packages and test -for PYBIN in /opt/python/*/bin/; do - "${PYBIN}/pip" install -r requirements/test.txt - "${PYBIN}/pip" install wolfssl --no-index -f dist - rm -rf tests/__pycache__ - "${PYBIN}/py.test" tests -done diff --git a/make/manylinux1/build_wheels.sh b/make/manylinux1/build_wheels.sh deleted file mode 100755 index 4fc6da4..0000000 --- a/make/manylinux1/build_wheels.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -set -e -set -x - -docker run \ - --rm \ - -v `pwd`:/wolfssl-py \ - -w /wolfssl-py \ - wolfssl/manylinux1-x86_64 \ - bash -c "make/manylinux1/build.sh" diff --git a/make/osx/build_wheels.sh b/make/osx/build_wheels.sh deleted file mode 100755 index 97c5332..0000000 --- a/make/osx/build_wheels.sh +++ /dev/null @@ -1,28 +0,0 @@ -set -e -set +x - -for VER in 3.7 3.8; do - PIP="pip${VER}" - PYTHON="python${VER}" - VENV="venv_${VER}" - PATH="/Library/Frameworks/Python.framework/Versions/${VER}/bin:$PATH" - - # update pip for newer TLS support - curl https://bootstrap.pypa.io/get-pip.py | ${PYTHON} - ${PIP} install -r requirements/setup.txt - - # update virtualenv - ${PIP} install --upgrade virtualenv - virtualenv -p ${PYTHON} ${VENV} - . ./${VENV}/bin/activate - - ${PYTHON} setup.py bdist_wheel - ${PIP} install -r requirements/test.txt - set +e - ${PIP} uninstall -y wolfssl - set -e - ${PIP} install wolfssl --no-index -f dist - rm -rf tests/__pycache__ - py.test tests - deactivate -done diff --git a/make/osx/install_python.sh b/make/osx/install_python.sh deleted file mode 100755 index 15cb051..0000000 --- a/make/osx/install_python.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -euo pipefail -set -x - -URLS=( - 'https://www.python.org/ftp/python/3.7.9/python-3.7.9-macosx10.9.pkg' - 'https://www.python.org/ftp/python/3.8.6/python-3.8.6-macosx10.9.pkg' -) - -for url in "${URLS[@]}"; do - curl -Lo /tmp/python.pkg "$url" - sudo installer -pkg /tmp/python.pkg -target / -done