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)