forked from Azure/azure-extensions-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 1.5 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
sudo: false
language: go
go: go1.9
install:
- go get -u github.com/golang/lint/golint
- go get -u github.com/mitchellh/gox
- go get -u github.com/ahmetalpbalkan/govvv
- go get -u gopkg.in/alecthomas/gometalinter.v1
- gometalinter.v1 --install
script:
- test -z "$(gometalinter.v1 --deadline=10m --tests --vendor --disable-all --enable=misspell --enable=vet --enable=ineffassign --enable=gofmt --enable=gocyclo --cyclo-over=15 --enable=golint --enable=deadcode --enable=varcheck --enable=structcheck --enable=unused ./...)"
- go test -v -cover .
- gox -gocmd=govvv -os="linux darwin windows" -arch="amd64"
deploy:
provider: releases
api_key:
secure: kMMfTZ5KNkziBhgrbIyUHpo6rq2ZSKkOhSmWFYI5JKgz1NN3MnMTEUIDL/2Dw0S7pRDnqyeFqMMEKSrqqiROf9DB+uEWA/wUo7anOVt0YKNnbVFZ/TkenB2/fielGK3Zrt0RhlFVZhdIo5JGmgthqJVotqr46UYDipiILlTNbLW8EVb1GCC2HUaPnzx/5SZ62H+lBjHjiwRCt+0359tl5qUVlEHYBTCWHFp7J79S/csUTN7Fqt/4lDJWhaqH03O1PKxV9Tbq3f/JTMZWPKQ1Qx4dKnkS7eUQ0MtRxqmAkvUHKj54aT7t36jOPaWgPJutAMBmQ43f4kP65t7U6hs/wbdOgHKBcC3vk/EzVhJ4yp2YEw+v8IBtMP0EcDKZrTAPKuJzMu1t4Hp1B4AEQl/pe/jcGeo0OJWWJqJJtXo4ef51lGX/ZQ1mddwR7A4+J5AGzSUL6rDX0IK3ijValDyZXF7DCEj8WiFbpznxCQqWN1fuHaUSaTA6DXxGWrULgWzv/Xq3pOlr5WoJ/QP2yAx0M+t74tjbDBRPpcUskATxODns0SDnVECAYWjW+N1mG8T93Q6qChIvrwJ2mGK4qYFL/5GkU1jOxvVmfppNnjQATyiwhq8QozfANWfOx7BIquLfF2vXurs+VjTuCpaRLvXQK8ertDdm9Ibzc+06LzOzx5s=
file:
- "azure-extensions-cli_windows_amd64.exe"
- "azure-extensions-cli_linux_amd64"
- "azure-extensions-cli_darwin_amd64"
on:
tags: true
repo: Azure/azure-extensions-cli