attempting to prevent timeout in firefox tests, convert build id to a string.

This commit is contained in:
Spencer Alger 2014-09-15 13:42:28 -07:00
parent 82e58269ec
commit 3bbc9b1f7c

View file

@ -1,3 +1,8 @@
var buildId = 'test build';
if (process.env.TRAVIS_BUILD_ID) {
buildId = 'travis build #' + process.env.TRAVIS_BUILD_ID;
}
module.exports = {
unit: {
options: {
@ -5,10 +10,11 @@ module.exports = {
'http://localhost:8000/test/unit/?saucelabs=true'
],
testname: 'Kibana Browser Tests',
build: process.env.TRAVIS_BUILD_ID || 'test build',
build: buildId,
concurrency: 10,
username: 'kibana',
key: process.env.SAUCE_ACCESS_KEY,
'max-duration': 360,
browsers: [
{
browserName: 'chrome',