[TASK] try travis deploy

This commit is contained in:
Martin Geno 2017-04-06 17:48:31 +02:00
parent 26a118d737
commit 0fb5a0610d
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941
1 changed files with 14 additions and 12 deletions

View File

@ -1,21 +1,23 @@
language: go language: go
go: go:
- 1.8.x - tip
- master
install: install:
- go get -t github.com/FreifunkBremen/yanic/... - go get -t github.com/FreifunkBremen/yanic/...
- go get github.com/mattn/goveralls - go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover - go get golang.org/x/tools/cmd/cover
script: script:
- ./.test-coverage - "./.test-coverage"
- go install github.com/FreifunkBremen/yanic/cmd/yanic - go install github.com/FreifunkBremen/yanic/cmd/yanic
- go install github.com/FreifunkBremen/yanic/cmd/yanic-query - go install github.com/FreifunkBremen/yanic/cmd/yanic-query
before_deploy: before_deploy:
- ./.build-packages - "./.build-packages"
deploy: deploy:
provider: packagecloud provider: packagecloud
repository: yanic repository: yanic
username: FreifunkBremen username: FreifunkBremen
# on: token:
# branch: master secure: U3p3AjBvN1kpLd0sL9CBseYhtKCLeZeFZzNzr+3y+/IgBGHANXxUxcNsgj7Ip2zQIy/7TlwVFdlGSPu95O8oL4WVmlkaGnLH1FdFJF/aej+7gGE069Q3E1AkiDzByKCNr9idKxmL9wARS8owJU2e90Ohe5Fqte3gGIHx0xx6z0aDGArDx77j+yxPUyTXxsZMOEaJhnDcbI+FSKAy2J43T17ix63RbZk/X0zHGmnRTQtkiKsIibjVnZFs89ScHcBjOR2zvzlNBN4bS9o1f/C6BHaFFi2hpqOkXTJxtMmsdpFq0GSg/CqGVtyIrb/okZe7/22ovc0cAiaG2I25kB5nSCx5qwwnaUpZaJ0rKcvjxLiLP7mRccugoycKoCXv/uhIwJtmux1lVn26umW5ktgxrqUdNbftpqOH/XiE0PI7npjkX7xaJUv5J3KFp3pJ8YpRUUYSnWfcyzSKE19g/JHCzOLfmjo2H5Rj9WYI7Gb80xnZjplD0zrZsAR4rnCyI+S4Qjx2pD3waRLrOKkfRiZ6QObSXVe6zizJ65GudoLjsSkI3JD/kwVXUN6bOEXEXuaM+gXMWjZIIXiz1BArrK4GYvjQREdGOGsCTo4q8RBikr//ler8CZQ/2m5BcVACPkUv/LPcU2uYUkBxIzgddTs6eoiomblwLn/BHnt125YuTgY=
dist: debian/jessie
local-dir: contrib
on:
branch: package