2018-08-30 16:16:37 +01:00
|
|
|
language: go
|
|
|
|
sudo: false
|
|
|
|
go:
|
|
|
|
- 1.10.x
|
|
|
|
- 1.11.x
|
2018-09-07 14:13:23 +01:00
|
|
|
- 1.x
|
2018-08-30 16:16:37 +01:00
|
|
|
|
2018-08-30 17:06:08 +01:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2018-09-07 14:13:03 +01:00
|
|
|
install:
|
2018-09-10 13:47:22 +01:00
|
|
|
- go get -v -d -t ./...
|
2018-09-07 14:14:43 +01:00
|
|
|
- npm --prefix client install
|
2018-09-07 14:13:03 +01:00
|
|
|
|
2018-08-30 16:16:37 +01:00
|
|
|
script:
|
2018-09-10 13:47:22 +01:00
|
|
|
- (cd `go env GOPATH`/src/github.com/prometheus/client_golang && git checkout -q v0.8.0)
|
2018-09-07 14:13:03 +01:00
|
|
|
- go test ./...
|
|
|
|
- make
|
2018-08-30 16:16:37 +01:00
|
|
|
|