File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,11 @@ go_import_path: github.com/Stackdriver/stackdriver-prometheus-sidecar
88# Skip dependency fetch. We store all dependencies under vendor/.
99install : true
1010
11- # make goveralls runs all tests as well.
1211script :
13- - make goveralls
12+ # Can't run goveralls for external pull requests, so only run the tests.
13+ - ' if [[ "${TRAVIS_PULL_REQUEST_SLUG:-Stackdriver/stackdriver-prometheus-sidecar}" != "Stackdriver/stackdriver-prometheus-sidecar" ]]; then make test; fi'
14+ # For internal pull requests and push builds, make goveralls will run all tests as well.
15+ - ' if [[ "${TRAVIS_PULL_REQUEST_SLUG:-Stackdriver/stackdriver-prometheus-sidecar}" == "Stackdriver/stackdriver-prometheus-sidecar" ]]; then make goveralls; fi'
1416# TODO(jkohen): `make goveralls` is causing a diff in go.mod. Prevent that and uncomment the line below.
1517# - git diff --exit-code
1618
You can’t perform that action at this time.
0 commit comments