Merge pull request #2 from digitalocean/integrate_travis_ci

Integrate Travis, Godoc
This commit is contained in:
Vaibhav Bhembre 2016-01-06 15:05:57 -05:00
commit ee5251858d
2 changed files with 17 additions and 1 deletions

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
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
script: go test -v -race ./...

View File

@ -1,4 +1,4 @@
# Ceph Exporter # Ceph Exporter [![GoDoc](https://godoc.org/github.com/digitalocean/ceph_exporter?status.svg)](https://godoc.org/github.com/digitalocean/ceph_exporter) [![Build Status](https://travis-ci.org/digitalocean/ceph_exporter.svg)](https://travis-ci.org/digitalocean/ceph_exporter)
Prometheus exporter that scrapes meta information about a running ceph cluster. All the information gathered from the cluster is done by interacting with the monitors using an appropriate wrapper over `rados_mon_command()`. Hence, no additional setup is necessary other than having a working ceph cluster. Prometheus exporter that scrapes meta information about a running ceph cluster. All the information gathered from the cluster is done by interacting with the monitors using an appropriate wrapper over `rados_mon_command()`. Hence, no additional setup is necessary other than having a working ceph cluster.
## Dependencies ## Dependencies