From 81f5748063063e30eb3688da933f95acad3f5eb2 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 2 Apr 2016 12:47:05 +0100 Subject: [PATCH] Fix PR checking on Travis Don't return false if the Travis build is for a pull request. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cbc67911..e202e8fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ before_script: - cmake .. -DPROJECT_STATIC_RUNTIME=OFF -DBUILD_SHARED_LIBS=OFF script: - - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && npm test || false' + - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm test; fi - make tests && ./tests before_deploy: