Skip to content

Commit

Permalink
Don't send report to coveralls on cron builds
Browse files Browse the repository at this point in the history
  • Loading branch information
msoap committed Oct 26, 2018
1 parent eb3cdec commit f17e614
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,6 +21,6 @@ script:
- go vet ./...
- errcheck ./...
- diff <(gofmt -d .) <(echo -n "")
- if [[ "$IS_LATEST_GO" == "true" ]]; then
- if [[ "$IS_LATEST_GO" == "true" ]] && [[ "$TRAVIS_BRANCH" == "master" ]] && [[ "$TRAVIS_EVENT_TYPE" == "push" ]]; then
go test -covermode=count -coverprofile=profile.cov ./... && goveralls -coverprofile=profile.cov -service=travis-ci || true;
fi

0 comments on commit f17e614

Please sign in to comment.