Skip to content

Commit

Permalink
Update CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
abericyang@gmail.com committed May 13, 2019
1 parent 0f7f4d5 commit 7c14352
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,16 @@ jobs:
- image: circleci/golang
steps:
- checkout
- run: go get golang.org/x/sys/unix
- run: go get golang.org/x/lint/golint # 检测语法问题
- run: go get github.com/fzipp/gocyclo # 检查函数的复杂度
- run: go get github.com/jgautheron/goconst/cmd/goconst # 查找重复的字符串
- run: go get honnef.co/go/tools/cmd/staticcheck # 静态检查
- run: go get github.com/client9/misspell/cmd/misspell # 拼写检查
- run: go get github.com/fzipp/gocyclo # 检查函数的复杂度
- run: go get github.com/go-playground/overalls # overalls能够支持到各级子目录
- run: go get github.com/mattn/goveralls # 是coveralls对golang的测试覆盖率支持命令
- run: go get github.com/smartystreets/goconvey # 测试工具
- run: go get github.com/hashicorp/consul # consul测试
- run: go get -t -v -d ./...
- run: make start check test end

0 comments on commit 7c14352

Please sign in to comment.