mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 23:19:41 -08:00
c706b416bd
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
18 lines
462 B
YAML
18 lines
462 B
YAML
language: go
|
|
sudo: false
|
|
go:
|
|
- 1.7.4
|
|
- tip
|
|
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
|