-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
49 lines (49 loc) · 3.31 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
49
language: go
go:
- master
install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get github.com/jteeuwen/go-bindata/...
- go get github.com/elazarl/go-bindata-assetfs/...
- go get github.com/gorilla/websocket
- go get github.com/nicksnyder/go-i18n/i18n
- go get github.com/patrickalin/GoMyLog
- go get github.com/patrickalin/bloomsky-api-go
- go get github.com/spf13/viper
- go get github.com/konsorten/go-windows-terminal-sequences
- go get .
script:
- go test -v -covermode=count -coverprofile=coverage.out
- echo $COVERALLS_TOKEN
- ls -la
- "$HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken
$COVERALLS_TOKEN"
before_deploy:
- "./scripts/travis/compile.sh"
- ls -la bin/
deploy:
provider: releases
api_key:
secure: fvZ0VBTJ6HEiBnQy02b+Qpq44lu/ktkBD7H2OkmaFoJ4+l+ojgVe27x8vGEWxUEn0chyvNaJNgggTqIDowHKrUHuQjds/GNcx3QcUtGoOwTSC833a35B7v86oDM1+vdA/8hIIxjRu6MrivaqWG58blSGx1alkahM0Yu/87PjtgNih8ZJ+0MzdsrWdrChjffZN9bk+a5KXRRAFgxyUtblHGuvCGq/XPWMT4jM7IpzBqo6CChs9tRDXFAxvo1hehb2ya77zJjvgysSCmu/uYqa3iEDUAiSlOsJJ9R1EWTBy7MzxKZyAAQ4li0QmMCEO/J0eTVx0sFR4suff1ugbLaCFlT56Qdv39cKyaPvxPebdDlx2N6Zzetid1u5jD6OOyceJcOJj+81hC9325YaXG7tlHexYcRcfUfhTvREfH1AKbblZwVmK422b0D6EqjxmgUm1ddkOR01DuBaZh3lBJW3NPxmcV3fLhihQX76QVLJr2pTVkrAgeCNPd5sBvCIFfTil9Ynnh7JpyuDLblIMeWv3bZZHsOBu8/v4MxaVUOKvvYtwF1l0EAU5kLjC7PbeKYnkvSyZbV+0t9+kZZYFMYuUOsqlSdzWCrTNcUZixAJ6Yzb5ZWpCEuhvYiFe0/HhwCPdQxhontz2apVxuEU/V0D1B9mlNY12bLIf8Sc+O13T2M=
file_glob: true
file:
- bin/goBloomsky-darwin-386.bin
- bin/goBloomsky-darwin-amd64.bin
- bin/goBloomsky-linux-386.bin
- bin/goBloomsky-linux-amd64.bin
- bin/goBloomsky-windows-386.exe
- bin/goBloomsky-windows-amd64.exe
- config.yaml
- server.crt
- server.key
skip_cleanup: true
on:
tags: true
all_branches: true
after_success:
- BRANCHES_TO_MERGE_REGEX='^dev' BRANCH_TO_MERGE_INTO=master GITHUB_REPO=patrickalin/bloomsky-client-go ./scripts/travis/mergeScript.sh
env:
global:
- secure: OnelAxGwR9hD1Qzl5/olfyWpIcFUdjn7UBpXEY5x6jRcThCb0DtSidBCQnRbESX89D9Sii7b2inh0/uhEWXqE+ZZG9Ld66bcWdnLb2GB48swZJ4c7LEZrCobIG7lE2u04nH+Iw09fdf93R/s28VeCDdGsiUGlFZxnPwxje1SCvyZvwJcNHvk8+9+tGl3ddvuvk5/+7mH2H/+Ai/xp4foTN73KqwIzphsJfcgpAfpJRnN6l5pmiwq8kqLVvbZJTjqJJNw5xcXen1jn5itUXSBxCjwpTjf6eAZIVlHND08R0vqRjDStzp+yx8/1mgT9XZPj+SXtagTLfvL665wZuL2iy0ALOa2NVN5++LLLx9SaXgBE2a7SH2CRZ5dKpCqhUFlUragwH3fk2vdgeBuZawAJ8OcTkL2LqyZals9JjAKYtT0cC7ZE3Ae5bxBUrbCc3MjDN1IfSqkzvQfhsisKh9A7I7IV+Q+5WhAmPRb/uxZ5Pt8oCw8Ju0szG0wSrkU/Z+a71HErt8ZCWYFC2xWlj4wUOXGFzzcPyBT/tCv6mjATq50nNZWkb/TraAeWMGXJ0nwRX+Z3qeewNduatSAAX52nU70t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