ceph_exporter/.travis.yml

24 lines
586 B
YAML
Raw Normal View History

2016-01-06 18:40:25 +00:00
language: go
sudo: required
dist: trusty
go:
- 1.5
before_install:
- sudo apt-get update
- sudo apt-get install -y librados-dev librbd-dev
install:
- go get github.com/ceph/go-ceph
- go get github.com/prometheus/client_golang/prometheus
2016-05-17 19:14:50 +00:00
- go get golang.org/x/tools/cmd/cover
2016-01-22 15:41:44 +00:00
- go get github.com/axw/gocov/gocov
2016-05-17 19:14:50 +00:00
- go get github.com/modocache/gover
2016-01-22 15:41:44 +00:00
- go get github.com/mattn/goveralls
2016-01-06 18:40:25 +00:00
2016-01-22 15:41:44 +00:00
script:
2016-05-17 19:14:50 +00:00
- go test -coverprofile=collectors.coverprofile ./collectors
- $HOME/gopath/bin/gover
- $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service travis-ci