From b3e99c79af0f61df71a02537e194e44809bb40a0 Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Fri, 29 Jul 2016 10:15:01 +0100 Subject: [PATCH] [appveyor] trying out github relesaessese --- appveyor.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7b643c25..66b03a93 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,6 +28,7 @@ install: - python -m pip install nose-show-skipped - python -m pip install coverage - "python setup.py develop" + - export `cat GPy/__version__.py | tr -d '[[:space:]]'` build: off @@ -44,7 +45,7 @@ test_script: after_test: # This step builds your wheels. - - "python setup.py bdist_wheel" + - "python setup.py bdist_wheel bdist_wininst bdist_wi" artifacts: # bdist_wheel puts your built wheel in the dist directory @@ -54,4 +55,18 @@ on_success: - "echo [pypi] > %USERPROFILE%\\.pypirc" - "echo username: maxz >> %USERPROFILE%\\.pypirc" - "echo password: %pip_upload% >> %USERPROFILE%\\.pypirc" - - python setup.py bdist_wheel upload \ No newline at end of file + - python setup.py bdist_wheel upload + + +deploy: + release: GPy-v$(__version__) + description: 'GPy windows install' + provider: GitHub + auth_token: + secure: a0f98391430517c6cdeb097c50d60d33f7131480 # your encrypted token from GitHub + artifact: dist\/.*\.exe/ # upload all NuGet packages to release assets + draft: false + prerelease: false + on: + branch: deploy # release from master branch only + #appveyor_repo_tag: true # deploy on tag push only \ No newline at end of file