Build all binaries only on releases deploy

This commit is contained in:
Marius 2016-11-11 16:23:42 +01:00
parent bffd8f24b0
commit fb523ce470
1 changed files with 1 additions and 2 deletions

View File

@ -23,8 +23,6 @@ install:
- rsync -r ./vendor/ $GOPATH/src - rsync -r ./vendor/ $GOPATH/src
script: script:
- ./.scripts/test_all.sh - ./.scripts/test_all.sh
before_deploy:
- ./.scripts/build_all.sh
deploy: deploy:
- provider: releases - provider: releases
api_key: api_key:
@ -36,6 +34,7 @@ deploy:
tags: true tags: true
go: 1.7 go: 1.7
repo: tus/tusd repo: tus/tusd
condition: $(./.scripts/build_all.sh)
- provider: script - provider: script
script: .scripts/deploy_current.sh script: .scripts/deploy_current.sh
on: on: