adds travis file, updates version to 3.13.0 and reorganizes building scripts
parent
8d972799c2
commit
33ed736b38
|
@ -0,0 +1,21 @@
|
||||||
|
sudo: required
|
||||||
|
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- dist: trusty
|
||||||
|
language: python
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
script:
|
||||||
|
- ./make/manylinux1/build_wheels.sh
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode8.3
|
||||||
|
script:
|
||||||
|
- ./make/osx/build_wheels.sh
|
||||||
|
|
||||||
|
install:
|
||||||
|
- if [ "${TRAVIS_OS_NAME:-}" == "osx" ]; then ./make/osx/install_python.sh; fi
|
4
Makefile
4
Makefile
|
@ -80,9 +80,9 @@ servedocs: docs ## compile the docs watching for changes
|
||||||
dist: clean ## builds source and wheel package
|
dist: clean ## builds source and wheel package
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
|
|
||||||
./build_mac_os_x_wheels.sh
|
./make/osx/build_wheels.sh
|
||||||
|
|
||||||
./build_linux_wheels.sh
|
./make/manylinux1/build_wheels.sh
|
||||||
|
|
||||||
ls -l dist
|
ls -l dist
|
||||||
|
|
||||||
|
|
|
@ -7,4 +7,4 @@ docker run \
|
||||||
-v `pwd`:/wolfcrypt-py \
|
-v `pwd`:/wolfcrypt-py \
|
||||||
-w /wolfcrypt-py \
|
-w /wolfcrypt-py \
|
||||||
wolfssl/manylinux1-x86_64 \
|
wolfssl/manylinux1-x86_64 \
|
||||||
bash -c "manylinux1/build_wheels.sh"
|
bash -c "make/manylinux1/build.sh"
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
set -x
|
||||||
|
|
||||||
|
URLS=(
|
||||||
|
'https://www.python.org/ftp/python/2.7.14/python-2.7.14-macosx10.6.pkg'
|
||||||
|
'https://www.python.org/ftp/python/3.4.4/python-3.4.4-macosx10.6.pkg'
|
||||||
|
'https://www.python.org/ftp/python/3.5.3/python-3.5.4-macosx10.6.pkg'
|
||||||
|
'https://www.python.org/ftp/python/3.6.0/python-3.6.4-macosx10.6.pkg'
|
||||||
|
)
|
||||||
|
|
||||||
|
for url in "${URLS[@]}"; do
|
||||||
|
curl -Lo /tmp/python.pkg "$url"
|
||||||
|
sudo installer -pkg /tmp/python.pkg -target /
|
||||||
|
done
|
|
@ -24,7 +24,7 @@ __uri__ = "https://github.com/wolfssl/wolfcrypt-py"
|
||||||
|
|
||||||
# When bumping the C library version, reset the POST count to 0
|
# When bumping the C library version, reset the POST count to 0
|
||||||
|
|
||||||
__wolfssl_version__ = "v3.12.2-stable"
|
__wolfssl_version__ = "v3.13.0-stable"
|
||||||
|
|
||||||
# We're using implicit post releases [PEP 440] to bump package version
|
# We're using implicit post releases [PEP 440] to bump package version
|
||||||
# while maintaining the C library version intact for better reference.
|
# while maintaining the C library version intact for better reference.
|
||||||
|
|
Loading…
Reference in New Issue