Skip to content

Commit

Permalink
Add coveralls.io
Browse files Browse the repository at this point in the history
Signed-off-by: joshs <josh@acst.com>
  • Loading branch information
joshs committed Jul 2, 2015
1 parent 5311b58 commit 8e975ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ go:
matrix:
allow_failures:
- go: tip

before_install:
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover

script:
- go test -coverprofile=strftime.coverprofile
- $HOME/gopath/bin/gover
- $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service=travis-ci
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## go-strftime [![Build Status](https://travis-ci.org/acstech/go-strftime.svg)](https://travis-ci.org/acstech/go-strftime)
## go-strftime [![Build Status](https://travis-ci.org/acstech/go-strftime.svg)](https://travis-ci.org/acstech/go-strftime) [![Coverage Status](https://coveralls.io/repos/acstech/go-strftime/badge.svg)](https://coveralls.io/r/acstech/go-strftime)

Go date time format compatible with Ruby's [Time#strftime](http://ruby-doc.org/core-2.2.2/Time.html#method-i-strftime)

Expand Down

0 comments on commit 8e975ee

Please sign in to comment.