2018-08-06 19:47:05 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2019-01-31 16:06:36 +00:00
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
|
|
|
- 1.10.x
|
|
|
|
- 1.11.x
|
|
|
|
- tip
|
2018-08-06 19:47:05 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- export PATH=$HOME/gopath/bin:$PATH
|
2019-01-31 16:06:36 +00:00
|
|
|
# install gometalinter
|
|
|
|
- curl -L https://git.io/vp6lP | sh
|
2018-08-06 19:47:05 +00:00
|
|
|
|
|
|
|
script:
|
2019-01-31 16:06:36 +00:00
|
|
|
- PATH=$PWD/bin:$PATH gometalinter ./...
|
|
|
|
- go test -race -cover ./...
|
2018-08-06 19:47:05 +00:00
|
|
|
|
|
|
|
matrix:
|
2019-01-31 16:06:36 +00:00
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2018-08-06 19:47:05 +00:00
|
|
|
|
|
|
|
git:
|
|
|
|
depth: 10
|