Skip to content

Commit

Permalink
build wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbelden committed Feb 2, 2018
1 parent 23b52f3 commit 05a0db5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ install:
- pip install pytest flake8 check-manifest Cython ujson
script:
- ./run-tests.sh
- docker run --rm -v "$(pwd):/data" quay.io/pypa/manylinux1_x86_64 /data/.travis_build_wheel.sh
deploy:
provider: releases
api_key:
secure: "DqDkKBKw20riyr1WeRZtMEUlmD9cCJNf/JJD5res8HSx8wUz+rI1aDpk0wCaehdLS2zsvUpf027EHfkseUZaMr3wMfwHQ9FxSEOZ04K8Wmxqk60bzEHwqL6xBe7M3K3RxYUKH6oZDekN2I0imkllHA4v6iG0JGmoacNAos60NdA="
file_glob: true
file: 'dist/fastavro-*.whl'
skip_cleanup: true
on:
tags
8 changes: 8 additions & 0 deletions .travis_build_wheel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

cd `dirname $0`

for PYBIN in /opt/python/*/bin; do
"${PYBIN}/pip" install cython
"${PYBIN}/python" setup.py bdist_wheel
done

0 comments on commit 05a0db5

Please sign in to comment.