Fix Travis PR detection environment (#10974) (#11024)

This commit is contained in:
Dan Albert
2020-07-13 14:25:40 -06:00
committed by GitHub
parent 4bb66a81fb
commit 33ca8fa72a

View File

@ -12,7 +12,7 @@ if [[ -n $CI ]]; then
export CI_BUILD_ID=$TRAVIS_BUILD_ID
export CI_COMMIT=$TRAVIS_COMMIT
export CI_JOB_ID=$TRAVIS_JOB_ID
if $TRAVIS_PULL_REQUEST; then
if [[ $TRAVIS_PULL_REQUEST != false ]]; then
export CI_PULL_REQUEST=true
else
export CI_PULL_REQUEST=