From b37c28a81d39ef1f3e8361a88cfc089830d70bc2 Mon Sep 17 00:00:00 2001 From: Jake Marsh Date: Fri, 12 Feb 2016 19:59:57 -0800 Subject: [PATCH] require travis_pull_request to exist before running saucelabs --- test/karma.conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/karma.conf.js b/test/karma.conf.js index 787810a9..b377e881 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -74,6 +74,6 @@ const ciAdditions = { }; module.exports = function(config) { - const isCI = process.env.CI; + const isCI = process.env.CI && process.env.TRAVIS_PULL_REQUEST; config.set(isCI ? Object.assign(karmaBaseConfig, ciAdditions) : karmaBaseConfig); };