Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
fix(appveyor): add appveyor provider
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Oct 4, 2017
1 parent 826ceab commit 8a1534d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/bumpercar.coffee
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Promise = require("bluebird")
inspect = require("util").inspect

{ travisProvider, circleProvider } = require("./providers")
{ travisProvider, circleProvider, appVeyorProvider } = require("./providers")

module.exports = {
create: (config = {}) ->
Expand All @@ -12,6 +12,9 @@ module.exports = {
if config.providers?.circle?
providers.circle = circleProvider.configure(config.providers?.circle)

if config.providers?.appVeyor?
providers.appVeyor = appVeyorProvider.configure(config.providers?.appVeyor)

findProviderOrDie = (providerName) ->
providers[providerName] or throw new Error("Provider wasn't configured: '#{providerName}'")

Expand Down

0 comments on commit 8a1534d

Please sign in to comment.