mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-01-24 03:16:18 +02:00
Merge pull request #2 from andygrunwald/travis-codecoverage-tip-onky
Run Code Coverage on Golang tip only
This commit is contained in:
commit
4ab195bda0
@ -8,9 +8,9 @@ go:
|
||||
- tip
|
||||
|
||||
before_install:
|
||||
- go get github.com/axw/gocov/gocov
|
||||
- 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
|
||||
- if [[ $TRAVIS_GO_VERSION = 1.6 ]]; then go get github.com/axw/gocov/gocov; fi;
|
||||
- if [[ $TRAVIS_GO_VERSION = 1.6 ]]; then go get github.com/mattn/goveralls; fi;
|
||||
- if [[ $TRAVIS_GO_VERSION = 1.6 ]]; then if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi; fi;
|
||||
|
||||
script:
|
||||
- $HOME/gopath/bin/goveralls -service=travis-ci
|
||||
- if [[ $TRAVIS_GO_VERSION = 1.6 ]]; then $HOME/gopath/bin/goveralls -service=travis-ci; fi;
|
Loading…
x
Reference in New Issue
Block a user