2018-06-29 05:25:18 +03:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
|
|
|
- "1.8.x"
|
|
|
|
- "1.9.x"
|
|
|
|
- "1.10.x"
|
|
|
|
- master
|
|
|
|
|
2018-07-15 15:50:10 +03:00
|
|
|
before_install:
|
|
|
|
- go get -t -v ./...
|
|
|
|
|
2018-06-29 05:25:18 +03:00
|
|
|
script:
|
2018-07-15 15:50:10 +03:00
|
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic
|
2018-07-15 16:47:53 +03:00
|
|
|
# - go test -bench=. -benchmem=true -run=none ./...
|
2018-07-15 15:50:10 +03:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|