Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

only rename wheels that go to scipy-wheels-nightly #89

Merged
merged 4 commits into from
May 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,16 @@ after_success:
# https://travis-ci.org/github/MacPython/numpy-wheels/settings
# originally generated at
# anaconda.org/scipy-wheels-nightly/settings/access
- if [ "$TRAVIS_BRANCH" == "master" ]; then
- if [ "$TRAVIS_BRANCH" == "master" ] ; then
ANACONDA_ORG="scipy-wheels-nightly";
TOKEN=${NUMPY_NIGHTLY_UPLOAD_TOKEN};
source extra_functions.sh;
for f in wheelhouse/*.whl; do rename_wheel $f; done;
else
ANACONDA_ORG="multibuild-wheels-staging";
TOKEN=${NUMPY_STAGING_UPLOAD_TOKEN};
fi
- pip install git+https://github.com/Anaconda-Server/anaconda-client;
- if [ -n "${TOKEN}" ] ;then
- if [ -n "${TOKEN}" ] ; then
anaconda -t ${TOKEN} upload -u ${ANACONDA_ORG} ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl;
fi
6 changes: 4 additions & 2 deletions azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ jobs:
- bash: |
set -e
source extra_functions.sh
for f in wheelhouse/*.whl; do rename_wheel $f; done
if [ $ANACONDA_ORG == "scipy-wheels-nightly" ]; then
source extra_functions.sh
for f in wheelhouse/*.whl; do rename_wheel $f; done
fi
echo uploading wheelhouse/*.whl
Expand Down
6 changes: 4 additions & 2 deletions azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ jobs:
- bash: |
set -e
source extra_functions.sh
for f in numpy/dist/numpy-*.whl; do rename_wheel $f; done
if [ $ANACONDA_ORG == "scipy-wheels-nightly" ]; then
source extra_functions.sh
for f in wheelhouse/*.whl; do rename_wheel $f; done
fi
echo uploading numpy/dist/numpy-*.whl
Expand Down