Add publish to bintray step to appveyor.yml

Remove Set-PSDebug -trace to prevent the 9000+ lines of debug output
from spamming the logs on appveyor.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-10-07 16:47:27 -04:00
parent 9ce1884925
commit 0e9ec8aa74
2 changed files with 10 additions and 3 deletions

View File

@ -9,12 +9,20 @@ install:
# Build the binary after tests
build: false
environment:
BINTRAY_USER: "docker-compose-roleuser"
BINTRAY_PATH: "docker-compose/master/windows/master/docker-compose-Windows-x86_64.exe"
test_script:
- "tox -e py27,py34 -- tests/unit"
after_test:
- ps: ".\\script\\build-windows.ps1"
deploy_script:
- "curl -sS
-u \"%BINTRAY_USER%:%BINTRAY_API_KEY%\"
-X PUT \"https://api.bintray.com/content/%BINTRAY_PATH%?override=1&publish=1\"
--data-binary @dist\\docker-compose-Windows-x86_64.exe"
artifacts:
- path: .\dist\docker-compose-Windows-x86_64.exe
name: "Compose Windows binary"

View File

@ -29,7 +29,6 @@
# .\script\build-windows.ps1
$ErrorActionPreference = "Stop"
Set-PSDebug -trace 1
# Remove virtualenv
if (Test-Path venv) {