Fix PR checking on Travis

Don't return false if the Travis build is for a pull request.
This commit is contained in:
Oliver Hamlet
2016-04-02 12:47:05 +01:00
parent ee312dbc5b
commit 81f5748063
+1 -1
View File
@@ -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: