2015-11-01 15:24:35 -06:00
|
|
|
language: go
|
|
|
|
go:
|
2018-11-20 15:29:41 -06:00
|
|
|
- "1.10"
|
|
|
|
- "1.11"
|
2015-11-01 15:24:35 -06:00
|
|
|
- tip
|
2018-11-20 15:29:41 -06:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on # will only be used in go 1.11
|
2015-11-04 11:12:41 -06:00
|
|
|
before_install:
|
|
|
|
- go get github.com/axw/gocov/gocov
|
|
|
|
- go get github.com/mattn/goveralls
|
|
|
|
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
|
|
|
script:
|
|
|
|
- $HOME/gopath/bin/goveralls -service=travis-ci
|
2018-12-27 13:28:34 -06:00
|
|
|
- bash test/compile_with_go110.sh
|
|
|
|
- bash test/compile_with_go111.sh
|
|
|
|
- bash test/compile_with_go111_inside_gopath.sh
|