Skip to content

Commit

Permalink
feat(coveralls): add coveralls token
Browse files Browse the repository at this point in the history
  • Loading branch information
qinhan committed Jan 6, 2020
1 parent 2942308 commit d4c3101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ before_script:
- cd & go get github.com/mattn/goveralls #goveralls是coveralls对golang的测试覆盖率支持命令

script: # 执行的脚步,但是go默认会执行下面的这些命令的,所以可以不用写
- overalls -project=github.com/yangwenmai/how-to-add-badge-in-github-readme -covermode=count -ignore='.git,_vendor'
- overalls -project=github.com/overtalk/helmsman -covermode=count -ignore='.git,_vendor'
- goveralls -coverprofile=overalls.coverprofile -service=travis-ci -repotoken $repo_token
- go test -race -coverprofile=coverage.txt -covermode=atomic # 注意要添加这一行,否则不会出现 codecov bot
- go test ./...
Expand Down

0 comments on commit d4c3101

Please sign in to comment.