From 4afb5100220839e3fa1f9fef3ea5eb302d4b84f3 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 16 Jan 2016 20:03:21 +0000 Subject: [PATCH] Skip JS tests for pull requests The JS tests run on Sauce Labs, which requires a secure connection to be set up, which isn't allowed for pull requests for security reasons, causing the tests to fail. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7e9dab43..0b72b4e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,7 +58,7 @@ before_script: - cmake .. -DPROJECT_ARCH=64 -DPROJECT_STATIC_RUNTIME=OFF -DBUILD_SHARED_LIBS=OFF -DGTEST_ROOT=../../googletest-release-1.7.0 script: - - npm test + - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && npm test || true' - make tests && ./tests before_deploy: