mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +02:00
[appveyor] use twine
This commit is contained in:
parent
b3e99c79af
commit
fe00ef6dbb
1 changed files with 6 additions and 4 deletions
10
appveyor.yml
10
appveyor.yml
|
|
@ -27,6 +27,7 @@ install:
|
|||
- python -m pip install paramz
|
||||
- python -m pip install nose-show-skipped
|
||||
- python -m pip install coverage
|
||||
- python -m pip install twine
|
||||
- "python setup.py develop"
|
||||
- export `cat GPy/__version__.py | tr -d '[[:space:]]'`
|
||||
|
||||
|
|
@ -45,7 +46,7 @@ test_script:
|
|||
|
||||
after_test:
|
||||
# This step builds your wheels.
|
||||
- "python setup.py bdist_wheel bdist_wininst bdist_wi"
|
||||
- "python setup.py bdist_wheel bdist_wininst bdist_msi"
|
||||
|
||||
artifacts:
|
||||
# bdist_wheel puts your built wheel in the dist directory
|
||||
|
|
@ -55,7 +56,8 @@ on_success:
|
|||
- "echo [pypi] > %USERPROFILE%\\.pypirc"
|
||||
- "echo username: maxz >> %USERPROFILE%\\.pypirc"
|
||||
- "echo password: %pip_upload% >> %USERPROFILE%\\.pypirc"
|
||||
- python setup.py bdist_wheel upload
|
||||
- ls dist\
|
||||
- twine upload dist\*.wheel
|
||||
|
||||
|
||||
deploy:
|
||||
|
|
@ -64,9 +66,9 @@ deploy:
|
|||
provider: GitHub
|
||||
auth_token:
|
||||
secure: a0f98391430517c6cdeb097c50d60d33f7131480 # your encrypted token from GitHub
|
||||
artifact: dist\/.*\.exe/ # upload all NuGet packages to release assets
|
||||
artifact: dist\*.exe # upload wininst to GitHub
|
||||
draft: false
|
||||
prerelease: false
|
||||
on:
|
||||
branch: deploy # release from master branch only
|
||||
branch: deploy # release from deploy branch only
|
||||
#appveyor_repo_tag: true # deploy on tag push only
|
||||
Loading…
Add table
Add a link
Reference in a new issue