Update sauce-tunnel.

This commit is contained in:
John-David Dalton
2014-05-13 22:33:27 -07:00
parent 6b5521fbf7
commit 247718bc6c
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ branches:
only:
- master
before_install:
- "[ $SAUCE_LABS == false ] || npm i chalk@\"^0.4.0\" ecstatic@\"^0.5.0\" request@\"^2.34.0\" sauce-tunnel-sc3-1@\"^1.0.0\""
- "[ $SAUCE_LABS == false ] || npm i chalk@\"^0.4.0\" ecstatic@\"^0.5.0\" request@\"^2.34.0\" sauce-tunnel@\"^2.0.0\""
- "[ $ISTANBUL == false ] || (npm i -g coveralls@\"^2.10.0\" && npm i istanbul@\"^0.2.0\")"
- "[ $BIN != 'narwhal' ] || (wget http://lodash.com/_travis/narwhal-0.3.2.zip && sudo unzip narwhal-0.3.2 -d /opt/ && rm narwhal-0.3.2.zip)"
- "[ $BIN != 'narwhal' ] || (sudo ln -s /opt/narwhal-0.3.2/bin/narwhal /usr/local/bin/narwhal && sudo chmod +x /usr/local/bin/narwhal)"

View File

@@ -21,7 +21,7 @@ var _ = require('../lodash.js'),
chalk = require('chalk'),
ecstatic = require('ecstatic'),
request = require('request'),
SauceTunnel = require('sauce-tunnel-sc3-1');
SauceTunnel = require('sauce-tunnel');
/** Used for Sauce Labs credentials */
var accessKey = env.SAUCE_ACCESS_KEY,
@@ -704,7 +704,7 @@ function Tunnel(properties) {
this.attempts = 0;
this.restarting = this.running = this.starting = this.stopping = false;
this.jobs = { 'active': active, 'all': all, 'queue': queue };
this.connection = new SauceTunnel(this.user, this.pass, this.id, this.tunneled, this.timeout);
this.connection = new SauceTunnel(this.user, this.pass, this.id, this.tunneled, ['-P', '0']);
}
util.inherits(Tunnel, EventEmitter);