mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-22 16:36:07 +01:00
becca1275c
* Convert to Go modules * Update promu config. * Convert to Go modules. * Update vendoring. * Update Makefile.common. * Update circleci config. * Use Prometheus release tar for promtool. * Fixup unpack * Use temp dir for unpacking tools. * Use BSD compatible tar command. * OpenBSD mkdir doesn't support `-v`. Signed-off-by: Ben Kochie <superq@gmail.com>
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 ./...
|