mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-22 05:06:04 +03:00
Neur0toxine
c79b3b0c0f
* Clone() method in Localizer component allows to clone it just like LocalizationMiddleware does. * RavenClientInterface contains all *raven.Client method, which allows external use without type casting. * Tests and godoc fix for Go 1.15.
16 lines
374 B
YAML
16 lines
374 B
YAML
language: go
|
|
env:
|
|
- GO111MODULE=on
|
|
go:
|
|
- '1.12'
|
|
- '1.13'
|
|
- '1.14'
|
|
- '1.15'
|
|
before_install:
|
|
- go mod tidy
|
|
script:
|
|
- go test ./... -v -cpu 2 -timeout 10s -race -cover -coverprofile=coverage.txt -covermode=atomic
|
|
- go get -v -u github.com/axw/gocov/gocov
|
|
- gocov convert ./coverage.txt | gocov report
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash) |