Skip to content

Commit 4bcff63

Browse files
committed
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.
1 parent a69310d commit 4bcff63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "git://github.com/jhiesey/stream-http.git"
99
},
1010
"scripts": {
11-
"test": "npm run test-node && npm run test-browser",
11+
"test": "npm run test-node && ([ -n \"${TRAVIS_PULL_REQUEST}\" -a \"${TRAVIS_PULL_REQUEST}\" != 'false' ] || npm run test-browser)",
1212
"test-node": "tape test/node/*.js",
1313
"test-browser": "zuul --no-coverage -- test/browser/*.js",
1414
"test-browser-local": "zuul --local 8080 --no-coverage -- test/browser/*.js"

0 commit comments

Comments
 (0)