diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2ecbf4c5..3a2d40ca 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,4 +27,4 @@ jobs: go get -v -t -d ./... - name: Test - run: go test -v -race ./... + run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..b9f4d608 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: go + +go: + - 1.14.x + +before_install: + - go get -t -v ./... + +script: + - go test -race -coverprofile=coverage.txt -covermode=atomic + +after_success: + - bash <(curl -s https://codecov.io/bash)