Remove tunnelId support as it's not fully supported by sauce labs atm.

This commit is contained in:
John-David Dalton
2013-11-02 14:07:17 -07:00
parent 3b128f844b
commit b46c2c2527
2 changed files with 4 additions and 7 deletions

View File

@@ -38,8 +38,6 @@ matrix:
env: BIN="ringo" BUILD="legacy"
- node_js: "0.10"
env: SAUCELABS=true
- node_js: "0.10"
env: SAUCELABS=true OPTION="./test/index.html?compat=7"
git:
depth: 1
branches:
@@ -63,4 +61,5 @@ script:
- "[ $BUILD != false ] && cd ./test || true"
- "[ $BUILD == false ] && true || $BIN $OPTION ./test.js ../dist/lodash.$BUILD.js"
- "[ $BUILD == false ] && true || $BIN $OPTION ./test.js ../dist/lodash.$BUILD.min.js"
- "[ $SAUCELABS == false ] && true || node ./test/saucelabs.js $OPTION"
- "[ $SAUCELABS == false ] && true || node ./test/saucelabs.js"
- "[ $SAUCELABS == false ] && true || node ./test/saucelabs.js ./test/index.html?compat=7"

View File

@@ -13,8 +13,7 @@
var port = 8081,
username = process.env.SAUCE_USERNAME,
accessKey = process.env.SAUCE_ACCESS_KEY,
tunnelId = 'lodash' + process.env.TRAVIS_JOB_NUMBER.replace(/\./g, '');
accessKey = process.env.SAUCE_ACCESS_KEY;
var runnerPathname = (function() {
var args = process.argv;
@@ -68,7 +67,7 @@
// set up sauce connect so we can use this server from saucelabs
var tunnelTimeout = 10000,
tunnel = new SauceTunnel(username, accessKey, tunnelId, true, tunnelTimeout);
tunnel = new SauceTunnel(username, accessKey, null, true, tunnelTimeout);
console.log('Opening sauce connect tunnel...');
@@ -104,7 +103,6 @@
var testDefinition = {
'framework': 'qunit',
'platforms': platforms,
'tunnel': 'tunnel-identifier:' + tunnelId,
'url': 'http://localhost:' + port + runnerPathname
};