mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-26 20:30:10 +01:00
d5c180e680
It is better developing vmctl tool in VictoriaMetrics repository, so it could be released together with the rest of vmutils tools such as vmalert, vmagent, vmbackup, vmrestore and vmauth.
17 lines
465 B
YAML
17 lines
465 B
YAML
language: go
|
|
sudo: false
|
|
go:
|
|
- 1.10.x
|
|
install:
|
|
- go get -v github.com/golang/lint/golint
|
|
- go get golang.org/x/tools/cmd/cover
|
|
- go get github.com/mattn/goveralls
|
|
- go get -d -t -v ./...
|
|
- go build -v ./...
|
|
script:
|
|
- go vet ./...
|
|
- $HOME/gopath/bin/golint .
|
|
- go test -v -race ./...
|
|
- go test -v -covermode=count -coverprofile=cov.out
|
|
- $HOME/gopath/bin/goveralls -coverprofile=cov.out -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true
|