Skip to content

Commit af7445b

Browse files
authored
Merge pull request #31 from haya14busa/codecov
CI: use codecov
2 parents 2783351 + f74efa0 commit af7445b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.codecov.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: 0%
6+
patch:
7+
default:
8+
target: 0%
9+
10+
comment: false

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ install:
99
- go get github.com/mattn/goveralls
1010
- go get github.com/golang/lint/golint
1111
- go get honnef.co/go/unused/cmd/unused
12+
- go get github.com/haya14busa/goverage
1213

1314
before_script:
1415
- vim --cmd version --cmd quit
1516

1617
script:
1718
- go test -v -race ./...
18-
- goveralls -service=travis-ci
19+
- goverage -coverprofile=coverage.txt ./...
1920
- vim -u NONE -N --cmd "let &rtp .= ',' . getcwd()" -S go/generate.vim -c ":q"
2021
- (! git diff | grep '^') # check diff
22+
23+
after_success:
24+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)