1 changed files with 6 additions and 2 deletions
@ -1,6 +1,10 @@ |
|||
language: go |
|||
go: |
|||
- 1.9.2 |
|||
|
|||
env: |
|||
- COVERALLS_TOKEN=lhWzILT1WMRgrHXsEhauQOGsoby1nm7DR |
|||
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 |
|||
Loading…
Reference in new issue