Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Set to do wheel production for all branches for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Schwarzer authored and Max Schwarzer committed May 12, 2017
1 parent b19a56d commit ca27c62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ci/circle/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set -o xtrace

# If this branch is master, this is an iterative deployment, so we'll package
# wheels ourselves for deployment to S3. No need to build docs.
if [ "${CIRCLE_BRANCH}" = "master" ]; then
if [ "${CIRCLE_BRANCH}" = "master" || "${CIRCLE_BRANCH}" = "DEVOPS-291-Integrate-Circle"]; then

# Upgrading pip -- sudo is necessary due to virtualenv issues on Circle
sudo pip install --upgrade pip
Expand All @@ -40,7 +40,10 @@ if [ "${CIRCLE_BRANCH}" = "master" ]; then
cd /bindings/py/ && pip wheel --wheel-dir=dist/wheels -r requirements.txt
cd /bindings/py/ && python setup.py bdist_wheel -d dist/wheels
cd /bindings/py/ && python setup.py bdist_egg -d dist

# The dist/wheels folder is expected to be deployed to S3.
ls /dist/whl


# If this is a tag, we're doing a release deployment, so we want to build docs
# for pypi...
Expand Down
1 change: 0 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ test:
- py.test bindings/py/tests
post:
- ./ci/circle/before_deploy.sh
- ls /dist/whl
# mv dist/*.whl $CIRCLE_ARTIFACTS/
# ls -l $CIRCLE_ARTIFACTS/

0 comments on commit ca27c62

Please sign in to comment.