Merge pull request #83 from proppy/add-travis

add travis integration
pull/6/head
Joe Beda 2014-06-12 17:07:32 -07:00
commit 5b3c6f1965
1 changed files with 15 additions and 0 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
language: go
go:
- 1.2
- tip
install:
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/coreos/etcd
- bad=$(gofmt -s -l pkg/ cmd/) bash -x -c '[[ -z "$bad" ]]'
- ./hack/build-go.sh
script:
- ./hack/test-go.sh
- PATH=$HOME/gopath/bin:$PATH ./hack/integration-test.sh