diff --git a/.travis.yml b/.travis.yml index a92bea272..d6bc0f8b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/test/saucelabs.js b/test/saucelabs.js index 8a9d7fcd4..b2721149b 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -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 };