Skip to content

Commit

Permalink
CI: introduce codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Dec 11, 2016
1 parent 431dcae commit 8f416fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ before_script:
script:
- go test -v -race ./...
- goverage -coverprofile=coverage.txt ./...
- goveralls -service=travis-ci -coverprofile=coverage.txt
- go install ./cmd/reviewdog
- >-
golint ./... | reviewdog -f=golint -ci=travis
after_success:
- goveralls -service=travis-ci -coverprofile=coverage.txt
- bash <(curl -s https://codecov.io/bash)

before_deploy:
- go get github.com/mitchellh/gox
- gox -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" ./cmd/reviewdog/
Expand Down

0 comments on commit 8f416fd

Please sign in to comment.