Skip to content

Commit

Permalink
test(e2e): do not use sauce if secured vars not available
Browse files Browse the repository at this point in the history
This makes the "sauce" e2e test use Firefox, when testing pull requests.
  • Loading branch information
vojtajina committed Aug 3, 2013
1 parent 69f2bcc commit 1a0bec8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/sauce/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
var TRAVIS_WITHOUT_SAUCE = process.env.TRAVIS_SECURE_ENV_VARS === 'false';

module.exports = function(config) {
config.set({
frameworks: ['jasmine'],
Expand All @@ -8,7 +10,7 @@ module.exports = function(config) {

autoWatch: true,

browsers: ['sl_chrome_linux'],
browsers: [TRAVIS_WITHOUT_SAUCE ? 'Firefox' : 'sl_chrome_linux'],

reporters: ['dots'],

Expand Down

0 comments on commit 1a0bec8

Please sign in to comment.