From 7bb0113c9ca03a3675dbdad917c27649798a7cca Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Mon, 19 Jun 2017 14:18:03 +0100 Subject: [PATCH] chg: pkg: trying to make appveyor more stable --- appveyor.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 81ef6af6..f842312c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,7 +3,7 @@ environment: secure: 8/ZjXFwtd1S7ixd7PJOpptupKKEDhm2da/q3unabJ00= COVERALLS_REPO_TOKEN: secure: d3Luic/ESkGaWnZrvWZTKrzO+xaVwJWaRCEP0F+K/9DQGPSRZsJ/Du5g3s4XF+tS - gpy_version: 1.7.6 + gpy_version: 1.7.5 matrix: - PYTHON_VERSION: 2.7 MINICONDA: C:\Miniconda-x64 @@ -72,17 +72,16 @@ deploy_script: - echo username = maxz >> %USERPROFILE%\\.pypirc - echo password = %pip_access% >> %USERPROFILE%\\.pypirc - ps: >- - if ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') { - twine upload --skip-existing dist/* + If ($env:APPVEYOR_REPO_BRANCH -eq 'devel') { + echo not deploying on devel # twine upload --skip-existing -r test dist/* } - else { - echo not deploying on other branches + ElseIf ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') { + twine upload --skip-existing dist/* + } + Else { + echo not deploying on other branches } -# if ($env:APPVEYOR_REPO_BRANCH -eq 'devel') { -# twine upload --skip-existing -r test dist/* -# } # This is for testing the upload to testpypi, it causes a fail, so we will undo it here - # deploy: # - provider: GitHub # release: GPy-v$(gpy_version)