e8ba64d915
- Use val.Index(0).Interface().(type) in switch-case of SortSliceByValue - add go1.12 to TravisCI
17 lines
No EOL
339 B
YAML
17 lines
No EOL
339 B
YAML
language: go
|
|
go:
|
|
- 1.11.x
|
|
- 1.12.x
|
|
env:
|
|
- GO111MODULE=on
|
|
install:
|
|
- go get -v golang.org/x/lint/golint
|
|
- go mod tidy -v
|
|
script:
|
|
- golint -set_exit_status ./...
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip |