Deploying to bintray from appveyor using the new bintray support.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-02-01 16:30:39 -05:00
parent 9c6c50c607
commit 6928c24323
1 changed files with 6 additions and 10 deletions

View File

@ -9,20 +9,16 @@ install:
# Build the binary after tests # Build the binary after tests
build: false build: false
environment:
BINTRAY_USER: "docker-compose-roleuser"
BINTRAY_PATH: "docker-compose/master/windows/master/docker-compose-Windows-x86_64.exe"
test_script: test_script:
- "tox -e py27,py34 -- tests/unit" - "tox -e py27,py34 -- tests/unit"
- ps: ".\\script\\build-windows.ps1" - 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: artifacts:
- path: .\dist\docker-compose-Windows-x86_64.exe - path: .\dist\docker-compose-Windows-x86_64.exe
name: "Compose Windows binary" name: "Compose Windows binary"
deploy:
- provider: Environment
name: master-builds
on:
branch: master