mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Remove tunnelId support as it's not fully supported by sauce labs atm.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user