blob: d2a00fd0eb3e59676e2a7294e5f8d8a7c5619a46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
language: go
go:
- "1.10"
- "1.12"
- tip
env:
- GO111MODULE=on # will only be used in go 1.11
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
- bash test/compile_with_go110.sh
- bash test/compile_with_go111.sh
- bash test/compile_with_go111_inside_gopath.sh
|