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.
This commit is contained in:
Oliver Hamlet
2016-01-16 20:03:21 +00:00
parent 1af3bc9a9a
commit 4afb510022
+1 -1
View File
@@ -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: