Skip to content

Commit

Permalink
Remove sauce requirement for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tilgovi committed May 21, 2015
1 parent dfb9cdd commit 6bb699b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
var fs = require('fs');

// Use ENV vars on Travis and sauce.json locally to get credentials
if (!process.env.SAUCE_USERNAME) {
if (!fs.existsSync('sauce.json')) {
console.log('Create a sauce.json with your credentials based on the sauce-sample.json file.');
process.exit(1);
} else {
process.env.SAUCE_USERNAME = require('./sauce').username;
process.env.SAUCE_ACCESS_KEY = require('./sauce').accessKey;
}
}

module.exports = function(config) {
config.set({
browsers: process.env.BROWSER ? [process.env.BROWSER] : ['PhantomJS'],
Expand Down

0 comments on commit 6bb699b

Please sign in to comment.