Commit 4a737c7f authored by Alex's avatar Alex Committed by hannahhoward

ci: add codecov and travis

parent f7b6fa39
language: go
go:
- 1.12.x
env:
global:
- GO111MODULE=on
install:
- go mod download
before_script:
- go fmt ./...
- go build ./...
- go test -run xxxx ./...
script:
- go test -race -short -coverprofile=coverage.txt ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
\ No newline at end of file
coverage:
precision: 2
round: up
range: "50...90"
status:
project: off
patch: off
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment