Skip to content

Commit

Permalink
Add Travis and Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnordlund committed Jan 14, 2015
1 parent 2100a35 commit 9c31cfc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
sudo: false
language: go
env:
global:
secure: Skc2s7zqVY7dgFzAVNgWc49eBIpGc86feJv8C9el1FWw4Pbd3DKtwjDDN4O9mT99buSTxFa+Dht4+Q1KLpXLd8r0fYRBw9tkVJ//WvLyguncUP67ZbpZIHZUpDZacErZs8SUo/Af8LrjDefndwA9y4HWmpK1/GAt57JfFJKRpH8=
go:
- 1.0
- 1.1
- 1.2
- 1.3
- 1.4
- tip
before_install:
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then
go get golang.org/x/tools/cmd/cover;
fi
script:
- go test -v -covermode=count -coverprofile=coverage.out
- "$GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken
$COVERALLS_TOKEN"

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Handlers
# Handlers [![GoDoc](https://godoc.org/github.com/maxnordlund/handlers?status.svg)](https://godoc.org/github.com/maxnordlund/handlers) [![Build Status](https://travis-ci.org/maxnordlund/handlers.svg)](https://travis-ci.org/maxnordlund/handlers) [![Coverage Status](https://coveralls.io/repos/maxnordlund/handlers/badge.svg)](https://coveralls.io/r/maxnordlund/handlers)
A collection of handlers for use with Go's net/http package.

See godoc.org/github.com/maxnordlund/handlers for documentation.
Expand Down

0 comments on commit 9c31cfc

Please sign in to comment.