Merge pull request #2 from msteinert/skip-coverage

Skip coverage report for pull requests
This commit is contained in:
Mike Steinert
2017-07-05 09:26:45 -05:00
committed by GitHub

View File

@@ -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