This repository was archived by the owner on Aug 30, 2024. It is now read-only.
File tree 3 files changed +12
-6
lines changed
3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -105,14 +105,16 @@ after_success:
105
105
# https://travis-ci.org/github/MacPython/numpy-wheels/settings
106
106
# originally generated at
107
107
# anaconda.org/scipy-wheels-nightly/settings/access
108
- - if [ "$TRAVIS_BRANCH" == "master" ]; then
108
+ - if [ "$TRAVIS_BRANCH" == "master" ] ; then
109
109
ANACONDA_ORG="scipy-wheels-nightly";
110
110
TOKEN=${NUMPY_NIGHTLY_UPLOAD_TOKEN};
111
+ source extra_functions.sh;
112
+ for f in wheelhouse/*.whl; do rename_wheel $f; done;
111
113
else
112
114
ANACONDA_ORG="multibuild-wheels-staging";
113
115
TOKEN=${NUMPY_STAGING_UPLOAD_TOKEN};
114
116
fi
115
117
- pip install git+https://github.com/Anaconda-Server/anaconda-client;
116
- - if [ -n "${TOKEN}" ] ;then
118
+ - if [ -n "${TOKEN}" ] ; then
117
119
anaconda -t ${TOKEN} upload -u ${ANACONDA_ORG} ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl;
118
120
fi
Original file line number Diff line number Diff line change @@ -110,8 +110,10 @@ jobs:
110
110
111
111
- bash : |
112
112
set -e
113
- source extra_functions.sh
114
- for f in wheelhouse/*.whl; do rename_wheel $f; done
113
+ if [ $ANACONDA_ORG == "scipy-wheels-nightly" ]; then
114
+ source extra_functions.sh
115
+ for f in wheelhouse/*.whl; do rename_wheel $f; done
116
+ fi
115
117
116
118
echo uploading wheelhouse/*.whl
117
119
Original file line number Diff line number Diff line change @@ -138,8 +138,10 @@ jobs:
138
138
139
139
- bash : |
140
140
set -e
141
- source extra_functions.sh
142
- for f in numpy/dist/numpy-*.whl; do rename_wheel $f; done
141
+ if [ $ANACONDA_ORG == "scipy-wheels-nightly" ]; then
142
+ source extra_functions.sh
143
+ for f in wheelhouse/*.whl; do rename_wheel $f; done
144
+ fi
143
145
144
146
echo uploading numpy/dist/numpy-*.whl
145
147
You can’t perform that action at this time.
0 commit comments