mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-29 15:59:41 +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 paramz
|
||||||
- python -m pip install nose-show-skipped
|
- python -m pip install nose-show-skipped
|
||||||
- python -m pip install coverage
|
- python -m pip install coverage
|
||||||
|
- python -m pip install twine
|
||||||
- "python setup.py develop"
|
- "python setup.py develop"
|
||||||
- export `cat GPy/__version__.py | tr -d '[[:space:]]'`
|
- export `cat GPy/__version__.py | tr -d '[[:space:]]'`
|
||||||
|
|
||||||
|
|
@ -45,7 +46,7 @@ test_script:
|
||||||
|
|
||||||
after_test:
|
after_test:
|
||||||
# This step builds your wheels.
|
# This step builds your wheels.
|
||||||
- "python setup.py bdist_wheel bdist_wininst bdist_wi"
|
- "python setup.py bdist_wheel bdist_wininst bdist_msi"
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
# bdist_wheel puts your built wheel in the dist directory
|
# bdist_wheel puts your built wheel in the dist directory
|
||||||
|
|
@ -55,7 +56,8 @@ on_success:
|
||||||
- "echo [pypi] > %USERPROFILE%\\.pypirc"
|
- "echo [pypi] > %USERPROFILE%\\.pypirc"
|
||||||
- "echo username: maxz >> %USERPROFILE%\\.pypirc"
|
- "echo username: maxz >> %USERPROFILE%\\.pypirc"
|
||||||
- "echo password: %pip_upload% >> %USERPROFILE%\\.pypirc"
|
- "echo password: %pip_upload% >> %USERPROFILE%\\.pypirc"
|
||||||
- python setup.py bdist_wheel upload
|
- ls dist\
|
||||||
|
- twine upload dist\*.wheel
|
||||||
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
|
@ -64,9 +66,9 @@ deploy:
|
||||||
provider: GitHub
|
provider: GitHub
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: a0f98391430517c6cdeb097c50d60d33f7131480 # your encrypted token from GitHub
|
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
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
on:
|
on:
|
||||||
branch: deploy # release from master branch only
|
branch: deploy # release from deploy branch only
|
||||||
#appveyor_repo_tag: true # deploy on tag push only
|
#appveyor_repo_tag: true # deploy on tag push only
|
||||||
Loading…
Add table
Add a link
Reference in a new issue