File tree Expand file tree Collapse file tree 4 files changed +118
-105
lines changed Expand file tree Collapse file tree 4 files changed +118
-105
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,6 @@ _cgo_export.*
20
20
_testmain.go
21
21
22
22
* .exe
23
+
24
+ # coverage droppings
25
+ profile.cov
Original file line number Diff line number Diff line change 5
5
language : go
6
6
7
7
go :
8
- - 1.1.2
9
- - 1.2.1
8
+ - 1.2.2
10
9
- tip
11
10
11
+ matrix :
12
+ fast_finish : true
13
+
12
14
before_install :
15
+ - go get code.google.com/p/go.tools/cmd/vet
13
16
- go get -v github.com/golang/lint/golint
17
+ - go get -v code.google.com/p/go.tools/cmd/cover
18
+ - go get -v github.com/mattn/goveralls
14
19
15
20
install :
16
21
- go get -d -v ./... && go build -v .
17
22
18
23
script :
24
+ - go vet -x ./...
19
25
- $HOME/gopath/bin/golint .
20
- - go test -v .
26
+ - go test -covermode=count -coverprofile=profile.cov -v .
27
+
28
+ after_script :
29
+ - $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ docopt-go
2
2
=========
3
3
4
4
[ ![ Build Status] ( https://travis-ci.org/docopt/docopt.go.svg?branch=master )] ( https://travis-ci.org/docopt/docopt.go )
5
+ [ ![ Coverage Status] ( https://coveralls.io/repos/docopt/docopt.go/badge.png )] ( https://coveralls.io/r/docopt/docopt.go )
5
6
[ ![ GoDoc] ( https://godoc.org/github.com/docopt/docopt.go?status.png )] ( https://godoc.org/github.com/docopt/docopt.go )
6
7
7
8
An implementation of [ docopt] ( http://docopt.org/ ) in the
You can’t perform that action at this time.
0 commit comments