Remove Travis CI
parent
6b02e7e5a8
commit
9a5852b48f
16
.travis.yml
16
.travis.yml
|
@ -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
|
|
@ -1,9 +1,6 @@
|
|||
wolfcrypt: the wolfSSL Crypto Engine
|
||||
====================================
|
||||
|
||||
.. image:: https://travis-ci.org/wolfSSL/wolfcrypt-py.svg?branch=master
|
||||
:target: https://travis-ci.org/wolfSSL/wolfcrypt-py
|
||||
|
||||
**wolfCrypt Python**, a.k.a. ``wolfcrypt`` is a Python module that encapsulates
|
||||
**wolfSSL's wolfCrypt API**.
|
||||
|
||||
|
|
|
@ -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/*.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 wolfcrypt --no-index -f dist
|
||||
rm -rf tests/__pycache__
|
||||
"${PYBIN}/py.test" tests
|
||||
done
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
|
||||
docker run \
|
||||
--rm \
|
||||
-v `pwd`:/wolfcrypt-py \
|
||||
-w /wolfcrypt-py \
|
||||
wolfssl/manylinux1-x86_64 \
|
||||
bash -c "make/manylinux1/build.sh"
|
|
@ -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 wolfcrypt
|
||||
set -e
|
||||
${PIP} install wolfcrypt --no-index -f dist
|
||||
rm -rf tests/__pycache__
|
||||
py.test tests
|
||||
deactivate
|
||||
done
|
|
@ -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
|
Loading…
Reference in New Issue