adds travis file, updates version to 3.13.0 and reorganizes building scripts

pull/1/head
Moisés Guimarães 2018-01-04 11:30:27 -03:00
parent 8d972799c2
commit 33ed736b38
7 changed files with 40 additions and 4 deletions

21
.travis.yaml 100644
View File

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

View File

@ -80,9 +80,9 @@ servedocs: docs ## compile the docs watching for changes
dist: clean ## builds source and wheel package
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

View File

@ -7,4 +7,4 @@ docker run \
-v `pwd`:/wolfcrypt-py \
-w /wolfcrypt-py \
wolfssl/manylinux1-x86_64 \
bash -c "manylinux1/build_wheels.sh"
bash -c "make/manylinux1/build.sh"

View File

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

View File

@ -24,7 +24,7 @@ __uri__ = "https://github.com/wolfssl/wolfcrypt-py"
# 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
# while maintaining the C library version intact for better reference.