2018-01-28 14:56:30 +00:00
|
|
|
language: go
|
2019-04-21 17:58:15 +00:00
|
|
|
os:
|
|
|
|
- windows
|
|
|
|
- linux
|
|
|
|
- osx
|
2018-01-28 14:56:30 +00:00
|
|
|
go:
|
2019-04-21 17:58:15 +00:00
|
|
|
- 1.11.4
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GO111MODULE=on
|
2018-01-28 14:56:30 +00:00
|
|
|
install:
|
2019-04-21 17:58:15 +00:00
|
|
|
- go mod download
|
2018-01-28 14:56:30 +00:00
|
|
|
- go get github.com/mattn/goveralls
|
|
|
|
script:
|
|
|
|
- go test -v -covermode=count -coverprofile=coverage.out -bench . -cpu 1,4
|
|
|
|
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN || true'
|