From f525820cc21afcda714ae46327085be240b0b3a5 Mon Sep 17 00:00:00 2001 From: Nick Presta Date: Tue, 22 Apr 2014 15:13:56 -0400 Subject: [PATCH] Adding TravisCI configuration, badge, GoDoc badge. --- .travis.yml | 11 +++++++++++ README.md | 7 ++----- 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 .travis.yml 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 -------