Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/test.js b/bin/test.js
index 2675c80..2755c10 100644
--- a/bin/test.js
+++ b/bin/test.js
@@ -2,8 +2,8 @@
var spawn = require('cross-spawn-async')
-var runBrowserTests = !process.env.TRAVIS_PULL_REQUEST ||
- process.env.TRAVIS_PULL_REQUEST === 'false'
+var runBrowserTests = process.env.TRAVIS && (!process.env.TRAVIS_PULL_REQUEST ||
+ process.env.TRAVIS_PULL_REQUEST === 'false')
var node = spawn('npm', ['run', 'test-node'], { stdio: 'inherit' })
node.on('close', function (code) {