2018-06-29 05:25:18 +03:00
|
|
|
language: go
|
|
|
|
|
2019-11-15 07:13:51 +03:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
- windows
|
2018-06-29 05:25:18 +03:00
|
|
|
|
2019-11-15 07:13:51 +03:00
|
|
|
go:
|
|
|
|
- 1.11.x
|
|
|
|
- 1.12.x
|
|
|
|
- 1.13.x
|
2020-02-28 06:04:55 +03:00
|
|
|
- 1.14.x
|
2018-07-15 15:50:10 +03:00
|
|
|
|
2018-06-29 05:25:18 +03:00
|
|
|
script:
|
2019-01-27 07:53:54 +03:00
|
|
|
#- go test -cpu=16 -bench=. -benchmem=true -run=none ./...
|
2019-01-27 08:30:38 +03:00
|
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic -v
|
2018-07-15 15:50:10 +03:00
|
|
|
|
|
|
|
after_success:
|
2019-11-15 07:13:51 +03:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then curl -s https://codecov.io/bash > .codecov && chmod +x .codecov && ./.codecov; else bash <(curl -s https://codecov.io/bash); fi
|