[TASK] fix travis

This commit is contained in:
root 2017-04-09 12:13:50 +02:00 committed by Martin Geno
parent 9f269d5c0e
commit 55d91f06e1
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941
2 changed files with 6 additions and 7 deletions

3
.deploy Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
gem install package_cloud
package_cloud push FreifunkBremen/yanic/debian/jessie $GOPATH/src/github.com/FreifunkBremen/yanic/build/*/yanic*.deb

View File

@ -13,12 +13,8 @@ before_deploy:
- go get github.com/laher/goxc
- goxc -pv=$(date +%Y%m%d)
deploy:
provider: packagecloud
repository: yanic
username: FreifunkBremen
token:
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
provider: script
script: "./.deploy"
skip_cleanup: true
on:
branch: package