Skip to content

Commit

Permalink
fix travis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbelden committed Feb 2, 2018
1 parent 05a0db5 commit 3dc0ce6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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
- docker run --rm -v "$(pwd):/data" quay.io/pypa/manylinux1_x86_64 "/data/.travis_build_wheel.sh $TRAVIS_PYTHON_VERSION"
deploy:
provider: releases
api_key:
Expand All @@ -20,4 +20,4 @@ deploy:
file: 'dist/fastavro-*.whl'
skip_cleanup: true
on:
tags
tags: true
7 changes: 3 additions & 4 deletions .travis_build_wheel.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

cd `dirname $0`
TRAVIS_PYTHON_VERSION=$1

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

0 comments on commit 3dc0ce6

Please sign in to comment.