chore(travis): set SauceLabs build id

This commit is contained in:
Vojta Jina 2013-12-03 14:10:53 -08:00
parent d0192b31a3
commit 338f949259

View file

@ -118,9 +118,12 @@ module.exports = function(config, specificOptions) {
if (process.env.TRAVIS) {
var buildLabel = 'TRAVIS #' + process.env.TRAVIS_BUILD_NUMBER + ' (' + process.env.TRAVIS_BUILD_ID + ')';
config.logLevel = config.LOG_DEBUG;
config.transports = ['websocket', 'xhr-polling'];
config.browserStack.build = 'TRAVIS #' + process.env.TRAVIS_BUILD_NUMBER + ' (' + process.env.TRAVIS_BUILD_ID + ')';
config.browserStack.build = buildLabel;
config.sauceLabs.build = buildLabel;
// TODO(vojta): remove once SauceLabs supports websockets.
// This speeds up the capturing a bit, as browsers don't even try to use websocket.