-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure travis-ci python manylinux1 build
- Loading branch information
Showing
4 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,30 @@ | ||
language: c | ||
script: make libcoho.a | ||
language: python | ||
|
||
python: | ||
- "3.6" | ||
|
||
matrix: | ||
include: | ||
- sudo: required | ||
services: | ||
- docker | ||
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64 | ||
|
||
install: | ||
- docker pull $DOCKER_IMAGE | ||
|
||
script: | ||
- > | ||
docker run --rm -v `pwd`:/io $DOCKER_IMAGE | ||
/io/travis-ci/python-build-manylinux1-wheels | ||
deploy: | ||
provider: script | ||
script: travis-ci/python-deploy-manylinux1-wheels | ||
on: | ||
branch: wip | ||
|
||
env: | ||
global: | ||
- secure: "Zv4yn3T5VATl4F5HSIkw7bNiCKkPxuXFjxHHCWKPup7JTwiRmhSy3ASo6g6HORCgjN/TEbcXaT0peqVus2ceGpjrw31fwXVIq9KtWBcWTdnmsLmG81yLmT3gFrSBBR9OfLQAviWC7utMl91UK/h56UZxHQTAZVi9Lp2s4W6pF84kb5y6MOYfR4otcT+KP249N4zzW9yEs77U79JqG04lTBoexyn0eAL655C/N57nQJgpEEPPOfKQNGLM8R2tost2xfxysUrKppHD59Gof0sZ8AQ0Qzig2AKGbPyAfdFEKnChaIqIeneywNxu0dy2J9qCf8Bz7PtJzsecDjIKL9VV9luRV927rj2h76zCKddnA5q/rqabnx6M+XajeBtMahnMSSMOgcMDL3yt15xER80qp21Igl4XmGy9fjcjcSlpwQLA511Qr4dpJsADZFQT+XQfXnoP12O79p4pDYgsPjFJdaq6oCyE8Gt8ouWuiXBZdMUg26vwDYotXOlX+zmqmFtvRGqFZ4rLPT9h29jzp4Ztno5EXG2fwPwNDymhc5rNG31JK6wFCBQ7wt4SEOu3RMbLIwLZZxemky3hvxArAtgzOqpYD1jYNQNq+Qjv7rk2TmO8bc+LgEVfxpTxBt+k7jFaW9w9skjrNywLZ1pDWoxj5hlDqETapTx6e0a46hJKEoQ=" | ||
- secure: "OsZvPqM97ssVj6vo/2xcsTt1QbTfMlPgRUs08ycCqfy31j1aiiBQBsXEA0NS4EHy4lVOu6nU+ntI1UOBBqnpXRC6xVie8rH2oyFOf381UOrBLrHB/WCgtt6TqdKBjO+9xFrms9n838pLifb0CdmK3BtMZpylV6FoSnx0lFVSKfpEu91VizCc7C8zLdUU+9vYDrZXY1GaDu9I4SA87Q6Ljy9pv/Qtav1SBKHEFZcRvNwi1rj/3XdlF/AblDetYutsPp/eNLpSHKSOh80tPT5s0pz4+BnDpgSSXx+Bf1urLu3COY6QvZ6ESGt8ALTDoyGJMXL4M62UNnJnYuBGqMB9yqYkrwmfLMAqkzcSQU20/gRNFq/SeNyFdG061oyRjWJy5e5sPL0mi9VEnCYW8NA1Fok+WA6+aDQCtZzGaM4Z8CpHp87+wXy0HbCz54CpH+C23rLNIBZE2prUnnizgCkV+Ah/HQ5xz8gExNIB6mq6tlOhBX+K8/ujP/kqrecLmjftmw8sO7Qqbof87n3lrVITMeWN3lNY2qp6QcmpFw32Z++OTaap0XhlY6IjQHcXkNHNZZFyK1Fqyz/E6VpDbp8lbBYY8tv0iy91V9hlgw96nljVVU+GTD1FyNoxThq8aZx20ZK+s13rxltp2uKdICJRZ1chhlRbelGp8U4dgwVbnhI=" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
:target: https://pypi.org/project/coho/ | ||
:alt: Package on PyPI | ||
|
||
======= | ||
==== | ||
Coho | ||
==== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
set -e -x | ||
|
||
cd $(dirname $0)/../python | ||
|
||
for minor in 7 6 5 4; do | ||
bin=(/opt/python/cp3$minor*/bin) | ||
[ -d $bin ] || continue | ||
|
||
$bin/pip install cython | ||
|
||
PATH=$bin:$PATH make -C .. clean python.pre.setup.py | ||
|
||
$bin/pip wheel -w wheelhouse . | ||
|
||
auditwheel repair wheelhouse/*-linux_* | ||
rm -f wheelhouse/*-linux_* | ||
|
||
$bin/pip install --no-index -f wheelhouse coho | ||
(cd $HOME; $bin/python -c "import coho.smiles") | ||
done | ||
|
||
ls wheelhouse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -e -x | ||
|
||
pip install twine | ||
|
||
twine upload \ | ||
-u $PYPI_USER \ | ||
-p $PYPI_PASSWORD \ | ||
--skip-existing \ | ||
python/wheelhouse/* |