Build all binaries only on releases deploy
This commit is contained in:
parent
bffd8f24b0
commit
fb523ce470
|
@ -23,8 +23,6 @@ install:
|
|||
- rsync -r ./vendor/ $GOPATH/src
|
||||
script:
|
||||
- ./.scripts/test_all.sh
|
||||
before_deploy:
|
||||
- ./.scripts/build_all.sh
|
||||
deploy:
|
||||
- provider: releases
|
||||
api_key:
|
||||
|
@ -36,6 +34,7 @@ deploy:
|
|||
tags: true
|
||||
go: 1.7
|
||||
repo: tus/tusd
|
||||
condition: $(./.scripts/build_all.sh)
|
||||
- provider: script
|
||||
script: .scripts/deploy_current.sh
|
||||
on:
|
||||
|
|
Loading…
Reference in New Issue