Skip to content

Commit

Permalink
lint karma.conf.js
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Sep 27, 2017
1 parent 918d78a commit ffd5e80
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,17 @@ module.exports = function (config) {
if (env.TRAVIS) {
console.error('Travis-CI detected');
bundleDirpath = path.join(baseBundleDirpath, process.env.TRAVIS_BUILD_ID);
if (env.SAUCE_USERNAME && env.SAUCE_ACCESS_KEY) {
// correlate build/tunnel with Travis
sauceConfig = {
build: 'TRAVIS #' + env.TRAVIS_BUILD_NUMBER +
if (env.SAUCE_USERNAME && env.SAUCE_ACCESS_KEY) {
// correlate build/tunnel with Travis
sauceConfig = {
build: 'TRAVIS #' + env.TRAVIS_BUILD_NUMBER +
' (' + env.TRAVIS_BUILD_ID + ')',
tunnelIdentifier: env.TRAVIS_JOB_NUMBER,
startConnect: false
};
console.error('Configured SauceLabs');
} else {
console.error('No SauceLabs credentials present');
};
console.error('Configured SauceLabs');
} else {
console.error('No SauceLabs credentials present');
}
} else if (env.APPVEYOR) {
console.error('AppVeyor detected');
Expand Down Expand Up @@ -160,11 +160,11 @@ function addSauceTests (cfg) {
var browserName = browserParts[0];
var version = browserParts[1];
acc[browser] = {
base: 'SauceLabs',
base: 'SauceLabs',
browserName: browserName,
version: version,
platform: platform
};
};
return acc;
}, {});

Expand Down

0 comments on commit ffd5e80

Please sign in to comment.