mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-23 00:46:08 +01:00
17 lines
297 B
YAML
17 lines
297 B
YAML
|
language: go
|
||
|
go:
|
||
|
- 1.x
|
||
|
os:
|
||
|
- linux
|
||
|
sudo: required
|
||
|
before_install:
|
||
|
- go get github.com/golang/lint/golint
|
||
|
- go get honnef.co/go/tools/cmd/staticcheck
|
||
|
- go get -d -t ./...
|
||
|
script:
|
||
|
- go build ./...
|
||
|
- go vet ./...
|
||
|
- staticcheck ./...
|
||
|
- ./scripts/golint.sh
|
||
|
- go test -race -v ./...
|