Update appveyor.yml

This commit is contained in:
Max Zwiessele 2017-10-06 13:27:59 +01:00 committed by GitHub
parent 62ba649bbb
commit 37d1749694

View file

@ -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