mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
Update appveyor.yml
This commit is contained in:
parent
62ba649bbb
commit
37d1749694
1 changed files with 13 additions and 12 deletions
25
appveyor.yml
25
appveyor.yml
|
|
@ -45,7 +45,7 @@ test_script:
|
|||
# the interpreter you're using - Appveyor does not do anything special
|
||||
# to put the Python evrsion you want to use on PATH.
|
||||
#- "build.cmd %PYTHON%\\python.exe setup.py test"
|
||||
- "coverage run travis_tests.py"
|
||||
#- "coverage run travis_tests.py"
|
||||
|
||||
after_test:
|
||||
# This step builds your wheels.
|
||||
|
|
@ -71,16 +71,17 @@ deploy_script:
|
|||
- echo repository = https://testpypi.python.org/pypi >> %USERPROFILE%\\.pypirc
|
||||
- echo username = maxz >> %USERPROFILE%\\.pypirc
|
||||
- echo password = %pip_access% >> %USERPROFILE%\\.pypirc
|
||||
- ps: >-
|
||||
If ($env:APPVEYOR_REPO_BRANCH -eq 'devel') {
|
||||
echo not deploying on devel # twine upload --skip-existing -r test dist/*
|
||||
}
|
||||
ElseIf ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') {
|
||||
twine upload --skip-existing dist/*
|
||||
}
|
||||
Else {
|
||||
echo not deploying on other branches
|
||||
}
|
||||
- echo %APPVEYOR_REPO_BRANCH%
|
||||
#- ps: >-
|
||||
# If ($env:APPVEYOR_REPO_BRANCH -eq 'devel') {
|
||||
# echo not deploying on devel # twine upload --skip-existing -r test dist/*
|
||||
# }
|
||||
# ElseIf ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') {
|
||||
# twine upload --skip-existing dist/*
|
||||
# }
|
||||
# Else {
|
||||
# echo not deploying on other branches
|
||||
# }
|
||||
|
||||
# deploy:
|
||||
# - provider: GitHub
|
||||
|
|
@ -91,4 +92,4 @@ deploy_script:
|
|||
# prerelease: false
|
||||
# on:
|
||||
# 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