Commit b5f6b710 authored by Forest Gregg's avatar Forest Gregg Committed by GitHub

Merge pull request #92 from zopefoundation/py37_build

python 3.7 binary wheels.
parents c8bf24e1 c97b7c2e
......@@ -7,7 +7,8 @@ for PYBIN in /opt/python/*/bin; do
if [[ "${PYBIN}" == *"cp27"* ]] || \
[[ "${PYBIN}" == *"cp34"* ]] || \
[[ "${PYBIN}" == *"cp35"* ]] || \
[[ "${PYBIN}" == *"cp36"* ]]; then
[[ "${PYBIN}" == *"cp36"* ]] || \
[[ "${PYBIN}" == *"cp37"* ]]; then
"${PYBIN}/pip" install -e /io/
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
rm -rf /io/build /io/*.egg-info
......
......@@ -20,7 +20,9 @@ matrix:
- PURE_PYTHON=1
- WITH_COVERAGE=1
- os: linux
python: 3.7-dev
python: 3.7
dist: xenial
sudo: true
- os: linux
python: pypy
- os: linux
......@@ -39,7 +41,10 @@ matrix:
env: TERRYFY_PYTHON='macpython 3.5'
- os: osx
language: generic
env: TERRYFY_PYTHON='macpython 3.6.0'
env: TERRYFY_PYTHON='macpython 3.6.1'
- os: osx
language: generic
env: TERRYFY_PYTHON='macpython 3.7.0'
- services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
......@@ -61,12 +66,6 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then get_python_environment $TERRYFY_PYTHON venv; fi
install:
- pip install -U pip setuptools
# persistent is a setup_requires, which gets downloaded by
# setuptools, not pip. But macpython 3.6.0 setuptools has trouble with SSL on
# Travis CI
# (https://travis-ci.org/zopefoundation/BTrees/jobs/192340692) so
# we install with pip manually.
- pip install -U persistent
- if [[ "$WITH_COVERAGE" == "1" ]]; then pip install coveralls coverage; fi
- pip install -e .[test,ZODB]
script:
......
include pyproject.toml
include *.txt
include *.rst
include *.py
......
......@@ -13,6 +13,8 @@ environment:
- python: 35-x64
- python: 36
- python: 36-x64
- python: 37
- python: 37-x64
install:
- "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
......
[build-system]
requires = ["setuptools",
"wheel",
"persistent"]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment