2017-03-04 03:59:13 +08:00
|
|
|
language: go
|
2018-10-25 06:49:29 +08:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2017-03-04 03:59:13 +08:00
|
|
|
sudo: required
|
|
|
|
go:
|
2018-10-25 02:02:32 +08:00
|
|
|
- "1.11.x"
|
2019-05-31 02:38:32 +08:00
|
|
|
- "1.12.x"
|
2017-03-04 03:59:13 +08:00
|
|
|
- tip
|
|
|
|
os:
|
|
|
|
- linux
|
2019-05-30 17:21:02 +08:00
|
|
|
- osx
|
|
|
|
- windows
|
2017-03-04 03:59:13 +08:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2019-05-30 17:21:02 +08:00
|
|
|
exclude:
|
|
|
|
- os: windows
|
|
|
|
go: tip
|
2017-03-04 03:59:13 +08:00
|
|
|
fast_finish: true
|
|
|
|
script:
|
2019-05-30 17:21:02 +08:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then go test -v -race ./...; else make check; fi
|