diff --git a/.circleci/config.yml b/.circleci/config.yml index 0c2b0ce2..c949c29c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -102,10 +102,10 @@ jobs: - run: name: Build Wheels command: | - if [[ -z "${CIRCLE_PULL_REQUEST}" ]]; then + if [[ -z "${CIRCLE_PR_NUMBER}" ]]; then echo "$DOCKER_PASSWORD" | docker login -u="$DOCKER_USERNAME" --password-stdin; fi - ./ci/travis/build-manylinux.sh + ./ci/build-manylinux.sh - run: name: Upload Wheels command: | diff --git a/ci/build-manylinux.sh b/ci/build-manylinux.sh index 38a6877f..ef2a36cf 100755 --- a/ci/build-manylinux.sh +++ b/ci/build-manylinux.sh @@ -7,6 +7,6 @@ python ci/appveyor/fix_version.py . docker pull $docker_tag || echo docker build --pull --cache-from $docker_tag ci/docker/manylinux -t $docker_tag -if [[ -z "$CIRCLE_PULL_REQUEST" ]]; then docker push $docker_tag; fi +if [[ -z "$CIRCLE_PR_NUMBER" ]]; then docker push $docker_tag; fi docker run --rm -v `pwd`:/io $docker_tag /io/ci/build-wheels.sh ls wheelhouse/