Skip to content

Commit

Permalink
fix(test): only run sauce labs if access key is available
Browse files Browse the repository at this point in the history
Fixes #76
  • Loading branch information
dignifiedquire committed Dec 8, 2016
1 parent 1d82ce7 commit 267830a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ const launchers = {

let browsers = []

if (process.env.SAUCE_USERNAME && process.env.SAUCE) {
if (process.env.SAUCE_USERNAME &&
process.env.SAUCE_ACCESS_KEY &&
process.env.SAUCE) {
browsers = Object.keys(launchers)
concurrency = 3
reporters = ['progress', 'saucelabs']
Expand Down

0 comments on commit 267830a

Please sign in to comment.