Skip to content

Commit 7ea3ce8

Browse files
committed
Setup Travis CI with coverage report to CodeCov
1 parent 3f20813 commit 7ea3ce8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
sudo: false
2+
language: go
3+
4+
go:
5+
- "1.x"
6+
7+
env:
8+
- GO111MODULE=on
9+
10+
before_install:
11+
- go get -t -v ./...
12+
13+
script:
14+
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
15+
16+
after_success:
17+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)