Remove dead Travis CI

add-github-actions
Andrew Hutchings 2022-05-12 16:38:38 +01:00
parent b0a9679838
commit 0ec0352fef
6 changed files with 0 additions and 97 deletions

View File

@ -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

View File

@ -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
<https://wolfssl.com/wolfSSL/Products-wolfssl.html>`_.

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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