2 changed files with 7 additions and 15 deletions
@ -1,8 +1,11 @@ |
|||||
language: go |
language: go |
||||
go: |
go: |
||||
- 1.9.2 |
- 1.9.2 |
||||
- release |
env: |
||||
- tip |
global: |
||||
|
- COVERALLS_TOKEN=lhWzILT1WMRgrHXsEhauQOGsoby1nm7DR |
||||
script: |
script: |
||||
- go test -v ./... |
- go get golang.org/x/tools/cmd/cover |
||||
|
- go get github.com/mattn/goveralls |
||||
|
- go test -v -covermode=count -coverprofile=coverage.out ./... |
||||
|
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN |
||||
@ -1,11 +0,0 @@ |
|||||
language: go |
|
||||
go: |
|
||||
- 1.9.2 |
|
||||
env: |
|
||||
global: |
|
||||
- COVERALLS_TOKEN=lhWzILT1WMRgrHXsEhauQOGsoby1nm7DR |
|
||||
script: |
|
||||
- go get golang.org/x/tools/cmd/cover |
|
||||
- go get github.com/mattn/goveralls |
|
||||
- go test -v -covermode=count -coverprofile=coverage.out ./... |
|
||||
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN |
|
||||
Loading…
Reference in new issue