diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7d3def7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: go +go: + - 1.2 + - tip +install: + - go list -f '{{range .Imports}}{{.}} {{end}}' ./... | xargs go get -v + - go list -f '{{range .TestImports}}{{.}} {{end}}' ./... | xargs go get -v + - go get code.google.com/p/go.tools/cmd/cover + - go build -v ./... +script: + - go test -v -cover ./... diff --git a/README.md b/README.md index 63022a9..e6105a4 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,7 @@ -Goji +Goji [![GoDoc](https://godoc.org/github.com/zenazn/goji?status.png)](https://godoc.org/github.com/zenazn/goji) [![Build Status](https://travis-ci.org/zenazn/goji.svg)](https://travis-ci.org/zenazn/goji) ==== -Goji is a minimalistic web framework inspired by Sinatra. [Godoc][doc]. - -[doc]: http://godoc.org/github.com/zenazn/goji - +Goji is a minimalistic web framework inspired by Sinatra. Example -------