-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
46 lines (46 loc) · 3.19 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
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/nest-api-go
- go get github.com/spf13/viper
- 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:
- "./command/compile.sh"
- ls bin/goNest-darwin-amd64.bin
deploy:
provider: releases
api_key:
secure: vIq3WGL3RPhqE583zzrO1db73pmfkFtFfLbsHPtHFwLjNNxjjO3IOuS6TsJu3ZMYshseZkRj1B7fmsBAXjchNVwaKvz2pyX8euU/TFEP5tlIag1Uh5/guJvWI3mRdCE/AXjyIqAVzjyqnrFWIP5OQ65di7yelL3uAt6xo3/gESpfvrhrrOtH3ENBn0jnptFkCpJMMHHe1MptmBMgP87x5rJX1mIPHypLVp7Z4LOvA2IAzL34yN1sql2Td0zItSLGhAS+pViYdsSP6mgCi3vkiQxZ4oWBoUf/b8GN202FQofV78Fy/P3X9vmwp3g6MD8tj2xhXfQmVVDX1hpDOuC8PQpU0v23vTLgFgHRG6EQI/tPvqa+rgoTpGsLtSJpkv787VfVfMRTBUBVZJg6Of44cGPQj+JXCML3Iczfn7OyWd0goytvHXdjgNFkhoAPEDXQRheYDMh0nlFxwFv+S4M6N5ZgWh/81NdHl17eJ5g7cGwQzli0eABra2NriNBzPiARSewtl46aIZlQvMz2v6M7+G/HHI1vzablsnAC+DheWo9CXj5lWJzTau+JB75dp1swgBONZUloyl1jAmTBr6OVPAD2KxFVYzuvbYUQy3UvMxdibEl8ATWmM+2AZfBztYd96e0E7axwVMJq8Kw9rwSTkHQyhMJ+K4TpIgGNHaZFz4E=
file_glob: true
file:
- bin/goNest-darwin-386.bin
- bin/goNest-darwin-amd64.bin
- bin/goNest-linux-386.bin
- bin/goNest-linux-amd64.bin
- bin/goNest-windows-386.exe
- bin/goNest-windows-amd64.exe
- config.yaml
skip_cleanup: true
on:
tags: true
all_branches: true
after_success:
- BRANCHES_TO_MERGE_REGEX='^dev' BRANCH_TO_MERGE_INTO=master GITHUB_REPO=patrickalin/nest-client-go ./command/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+Z3qeewNduatSAAX52nU70tIEm0eKtKLGglqBvP0I44AMG5tSnDTygcPa26SWQ6n9JxSRYmbt7w7Y2ZOW+cvKyKA9XdyW5+GlGkq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