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