diff options
author | Solly Ross <sross@redhat.com> | 2017-06-05 13:33:39 -0400 |
---|---|---|
committer | Solly Ross <sross@redhat.com> | 2017-06-05 13:41:31 -0400 |
commit | b081ea72669e89ee9080292005778f20f2c7902f (patch) | |
tree | f085f5e5a6d875eaa2b30b24fb992505138ce486 /karma.conf.js | |
parent | 255fbe0c9e93d26b0edc6c33fdd99dd64e7bc976 (diff) | |
download | novnc-b081ea72669e89ee9080292005778f20f2c7902f.tar.gz |
Fix Travis-Sauce Connectioninfra/fix-travis-sauce
Somethings got messed up in the Travis-Sauce tunnel setup. This should
fix it by re-adding the Sauce credentials. It also updates the config
to explicitly pass auth information instead of via environment
variables.
Diffstat (limited to 'karma.conf.js')
-rw-r--r-- | karma.conf.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/karma.conf.js b/karma.conf.js index 821007e..1060ee5 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -5,7 +5,8 @@ module.exports = function(config) { var browsers = []; var useSauce = false; - if (process.env.SAUCE_USERNAME && process.env.SAUCE_ACCESS_KEY) { + // use Sauce when running on Travis + if (process.env.TRAVIS_JOB_NUMBER) { useSauce = true; } |