From ca27c627b8a11b519369a6c07f7abe9b5a709a87 Mon Sep 17 00:00:00 2001 From: Max Schwarzer Date: Fri, 12 May 2017 15:33:51 -0700 Subject: [PATCH] Set to do wheel production for all branches for testing --- ci/circle/before_deploy.sh | 5 ++++- circle.yml | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/circle/before_deploy.sh b/ci/circle/before_deploy.sh index 3cae49a4..a3fcf2d3 100755 --- a/ci/circle/before_deploy.sh +++ b/ci/circle/before_deploy.sh @@ -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 @@ -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... diff --git a/circle.yml b/circle.yml index 6275ceb1..c71fa377 100644 --- a/circle.yml +++ b/circle.yml @@ -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/ \ No newline at end of file