Skip to content

Commit 00247dd

Browse files
Corrobpaulb777
authored andcommitted
Fix the metric collection on postsubmit. (#2972)
* Fix the metric collection on postsubmit. Turns out that the TRAVIS_PULL_REQUEST is not empty, but instead set to "false".
1 parent 6c6ef3b commit 00247dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/collect_metrics.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ EOF
3333
exit 1
3434
fi
3535

36-
if [[ ! -z "${TRAVIS_PULL_REQUEST}" ]]; then
36+
if [[ "${TRAVIS_PULL_REQUEST}" != "false" ]]; then
3737
WORKSPACE="$1"
3838
SCHEME="$2"
3939

0 commit comments

Comments
 (0)