From 2b9df1c9d978f9acb99175ba635bb4b8ecb2b05f Mon Sep 17 00:00:00 2001 From: Tyler Reddy Date: Tue, 12 May 2020 20:23:28 -0600 Subject: [PATCH] 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) --- appveyor.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 26fa87d..88e905d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -212,12 +212,11 @@ after_test: - C:\cygwin\bin\du -hs "%LOCALAPPDATA%\pip\Cache" on_success: - # Upload the generated wheel package to Rackspace + # Upload the generated wheel package to anaconda.org + # SCIPY_STAGING_UPLOAD_TOKEN is an encrypted variable + # used in Appveyor CI config, originally created at + # multibuild-wheels-staging site - cd ..\scipy - - pip install wheelhouse-uploader - # disable uploads because we have lost free hosting - # with Rackspace: - #- python -m wheelhouse_uploader upload - # --local-folder=dist - # %UPLOAD_ARGS% - # %CONTAINER% + - cmd: set ANACONDA_ORG="multibuild-wheels-staging" + - pip install git+https://github.com/Anaconda-Server/anaconda-client + - IF NOT "%SCIPY_STAGING_UPLOAD_TOKEN%" == "" anaconda -t %SCIPY_STAGING_UPLOAD_TOKEN% upload --force -u %ANACONDA_ORG% "%APPVEYOR_BUILD_FOLDER%/wheelhouse/*.whl"