diff options
author | Richard Lau <riclau@uk.ibm.com> | 2018-11-04 19:50:21 -0500 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-04 18:09:50 -0800 |
commit | 809be432c07fbc87d2673888d6c4ccb9d9d20480 (patch) | |
tree | 33164531ad4d4f0edf552882aec9995c0b6d004e /.travis.yml | |
parent | bde8eb5f82837bd035a681e1bd05be8df259e108 (diff) | |
download | android-node-v8-809be432c07fbc87d2673888d6c4ccb9d9d20480.tar.gz android-node-v8-809be432c07fbc87d2673888d6c4ccb9d9d20480.tar.bz2 android-node-v8-809be432c07fbc87d2673888d6c4ccb9d9d20480.zip |
build: fix Travis non-PR builds
Don't return non-zero if TRAVIS_PULL_REQUEST == "false".
PR-URL: https://github.com/nodejs/node/pull/24093
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 9fa6d5d552..d1b4f30999 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,9 @@ matrix: script: - make lint # Lint the first commit in the PR. - - \[ "${TRAVIS_PULL_REQUEST}" != "false" \] && bash tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST} + - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then + bash tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST}; + fi - name: "Test Suite" addons: apt: |