diff --git a/appveyor.yml b/appveyor.yml index f2ba081f..cadbfe28 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,9 @@ environment: pip_access: secure: 8/ZjXFwtd1S7ixd7PJOpptupKKEDhm2da/q3unabJ00= + gpy_version: 1.1.0 matrix: + fast_finish: true - PYTHON_VERSION: 2.7 MINICONDA: C:\Miniconda-x64 - PYTHON_VERSION: 3.5 @@ -9,13 +11,13 @@ environment: branches: only: + - deploy - devel except: - gh-pages install: - - (set /p %USERPROFILE%\\.pypirc - echo index-servers = >> %USERPROFILE%\\.pypirc - echo pypi >> %USERPROFILE%\\.pypirc @@ -64,16 +68,16 @@ deploy_script: - echo [test] >> %USERPROFILE%\\.pypirc - echo repository:https://testpypi.python.org/pypi >> %USERPROFILE%\\.pypirc - echo username:maxz >> %USERPROFILE%\\.pypirc - - ls dist\ - - twine upload -r test -p %pip_access% dist/* + #- twine upload -r test -p %pip_access% dist/* + - twine upload -p %pip_access% dist/* -#deploy: -# release: GPy-v$(__version__) -# description: 'GPy windows install' -# provider: GitHub -# artifact: dist/*.exe # upload wininst to GitHub -# draft: false -# prerelease: false -# on: -# branch: deploy # release from deploy branch only -# #appveyor_repo_tag: true # deploy on tag push only \ No newline at end of file +deploy: + - provider: GitHub + release: GPy-v$(gpy_version) + description: 'GPy windows install' + artifact: dist/*.exe # upload wininst to GitHub + draft: false + prerelease: false + on: + branch: deploy # release from deploy branch only + #appveyor_repo_tag: true # deploy on tag push only \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 4c59444e..7ee8fbe7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,7 @@ tag = False commit = True [bumpversion:file:GPy/__version__.py] +[bumpversion:file:appveyor.yml] [upload_docs] upload-dir = doc/build/html