Merge pull request #91 from matttproud/feature/testing/continuous-integration

Add Travis CI tests for go-raft.
pull/820/head
Ben Johnson 2013-08-02 07:52:53 -07:00
commit 403140b49a
2 changed files with 18 additions and 0 deletions

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
language: go
go:
- 1.1
install:
- make dependencies

View File

@ -1,3 +1,13 @@
all: test
coverage:
gocov test github.com/benbjohnson/go-raft | gocov-html > coverage.html
open coverage.html
dependencies:
go get -d .
test:
go test -v ./...
.PHONY: coverage dependencies test