-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
48 lines (48 loc) · 2.22 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: go
go:
- 1.9.x
env:
- DEP_VERSION="0.3.2"
before_install:
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
- chmod +x $GOPATH/bin/dep
install:
- dep ensure
before_deploy:
- GOOS=linux GOARCH=amd64 go build -o ckube_linux_amd64/ckube
- cp LICENSE ckube_linux_amd64/LICENSE
- tar -czvf ckube_linux_amd64.tar.gz ckube_linux_amd64
- zip -r ckube_linux_amd64.zip ckube_linux_amd64
- GOOS=linux GOARCH=386 go build -o ckube_linux_386/ckube
- cp LICENSE ckube_linux_386/LICENSE
- tar -czvf ckube_linux_386.tar.gz ckube_linux_386
- zip -r ckube_linux_386.zip ckube_linux_386
- GOOS=linux GOARCH=arm go build -o ckube_linux_arm/ckube
- cp LICENSE ckube_linux_arm/LICENSE
- tar -czvf ckube_linux_arm.tar.gz ckube_linux_arm
- zip -r ckube_linux_arm.zip ckube_linux_arm
- GOOS=darwin GOARCH=amd64 go build -o ckube_darwin_amd64/ckube
- cp LICENSE ckube_darwin_amd64/LICENSE
- tar -czvf ckube_darwin_amd64.tar.gz ckube_darwin_amd64
- zip -r ckube_darwin_amd64.zip ckube_darwin_amd64
- GOOS=windows GOARCH=amd64 go build -o ckube_windows_amd64/ckube.exe
- cp LICENSE ckube_windows_amd64/LICENSE
- zip -r ckube_windows_amd64.zip ckube_windows_amd64
deploy:
provider: releases
api_key:
secure: eTUbTLiLkl1GCB+HRXio3eWtGu0MRGgtmGJA3x5+Bsx7DVAY6x5wU4uuUeZlwVmMMinm7R3n7baoZ2cjPh3jSRLStsphAzFcPCIIZJot2E3cbykeiFEnbYtfXlH1vvXnEgVCyKlNgH7k3ID43CYwif9JU9mRVkSiIFXAjsCXnDMxarWr4bk7d//ymFZX2jO3AclJqk9bAUOJPyyIdCRHjHcvHTKX5BuaKY4Ct6jmLcGxw//sSDZvUvGaHTR9aFVVS3wim1/orwS1m4DxCrpljZ63J7rnxM/Ea3IuzB/ux73vmGoqPpCfNSxXiQBITKm6IeRusIBZqdpfeNiMjpLouVS4Zurcva9qYkSB7L/EHx9E+f+7mxeoPr++OSpTp05LCzRgkl8P0BRQ8Xev4LRtgZoCPkkGePZPzIwn+TTIETxcdomAJUByhJD4UuDifAfgUFCUd179hU/GaEVX+3TNekTPDtbKmR4BwuXSOUdwCQt1HBUSI3yJE7tgnaDudV12URYFXgDTuQvxQgbBA1NbJVL36L/NTNy/2HERwh6Z6tq/xQQAocu9/Nd8Q9gI0YJGv91mCQ+AZP9B96y9gJ0MsUiMJPn4OsXbtQcM2lFnC2uKMwdKoBQjnaU19z7vgl/NncJofRNfm5y7IM8QPBOUX5ueU9DcKwnflWXlk8WEAsE=
file:
- ckube_linux_amd64.tar.gz
- ckube_linux_amd64.zip
- ckube_linux_386.tar.gz
- ckube_linux_386.zip
- ckube_linux_arm.tar.gz
- ckube_linux_arm.zip
- ckube_darwin_amd64.tar.gz
- ckube_darwin_amd64.zip
- ckube_windows_amd64.zip
skip_cleanup: true
on:
tags: true
repo: CanopyTax/ckube