Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit 2b9df1c

Browse files
committed
MAINT: appveyor conda.org uploads
* turn on conda.org uploads for appveyor CI; we never did weekly uploads for Appveyor/Windows wheels so just turn on for merge events * hopefully this will restrict to merges and not successful PR branch runs by virtue of secret variable availability only within the repo itself (so most PRs should be opened from forks where possible)
1 parent 0847811 commit 2b9df1c

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

appveyor.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,11 @@ after_test:
212212
- C:\cygwin\bin\du -hs "%LOCALAPPDATA%\pip\Cache"
213213

214214
on_success:
215-
# Upload the generated wheel package to Rackspace
215+
# Upload the generated wheel package to anaconda.org
216+
# SCIPY_STAGING_UPLOAD_TOKEN is an encrypted variable
217+
# used in Appveyor CI config, originally created at
218+
# multibuild-wheels-staging site
216219
- cd ..\scipy
217-
- pip install wheelhouse-uploader
218-
# disable uploads because we have lost free hosting
219-
# with Rackspace:
220-
#- python -m wheelhouse_uploader upload
221-
# --local-folder=dist
222-
# %UPLOAD_ARGS%
223-
# %CONTAINER%
220+
- cmd: set ANACONDA_ORG="multibuild-wheels-staging"
221+
- pip install git+https://github.com/Anaconda-Server/anaconda-client
222+
- IF NOT "%SCIPY_STAGING_UPLOAD_TOKEN%" == "" anaconda -t %SCIPY_STAGING_UPLOAD_TOKEN% upload --force -u %ANACONDA_ORG% "%APPVEYOR_BUILD_FOLDER%/wheelhouse/*.whl"

0 commit comments

Comments
 (0)