[Pkg-javascript-commits] [node-stream-http] 109/208: Don't run browser tests in travis for PRs
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-stream-http.
commit 4bcff63d46329d8a5334d922764dc91622b13197
Author: John Hiesey <john at hiesey.com>
Date: Sat Jan 9 00:20:26 2016 +0100
Don't run browser tests in travis for PRs
These tests fail anyway, since the sauce labs credentials
aren't available. In all other cases running the browser
tests is desirable.
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 8ac119d..fb832db 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"url": "git://github.com/jhiesey/stream-http.git"
},
"scripts": {
- "test": "npm run test-node && npm run test-browser",
+ "test": "npm run test-node && ([ -n \"${TRAVIS_PULL_REQUEST}\" -a \"${TRAVIS_PULL_REQUEST}\" != 'false' ] || npm run test-browser)",
"test-node": "tape test/node/*.js",
"test-browser": "zuul --no-coverage -- test/browser/*.js",
"test-browser-local": "zuul --local 8080 --no-coverage -- test/browser/*.js"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-http.git
More information about the Pkg-javascript-commits
mailing list