Przeglądaj źródła

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".
Corrob 6 lat temu
rodzic
commit
00247dd50d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      scripts/collect_metrics.sh

+ 1 - 1
scripts/collect_metrics.sh

@@ -33,7 +33,7 @@ EOF
   exit 1
 fi
 
-if [[ ! -z "${TRAVIS_PULL_REQUEST}" ]]; then
+if [[ "${TRAVIS_PULL_REQUEST}" != "false" ]]; then
   WORKSPACE="$1"
   SCHEME="$2"