diff options
author | Michael Steinert <[email protected]> | 2017-07-05 09:18:20 -0500 |
---|---|---|
committer | Michael Steinert <[email protected]> | 2017-07-05 09:18:20 -0500 |
commit | 1a9eb8fe8b6df219f18ce92e856a8a98e7dd739d (patch) | |
tree | 045c994ee7e9dfa0b23a394b3dc494b5f4bb3d89 /.travis.yml | |
parent | db23a9ef3ffc5aa2e7ca5da56bd86f725df2c27f (diff) |
Skip coverage report for pull requests
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 99fa0e6..4b632c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,4 +15,4 @@ before_install: script: - sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which go) test -v -covermode=count -coverprofile=coverage.out . - - goveralls -coverprofile=coverage.out -service travis-ci -repotoken $REPO_TOKEN + - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then goveralls -coverprofile=coverage.out -service travis-ci -repotoken $REPO_TOKEN; fi |