Skip to content

Commit 209b035

Browse files
author
David Rodríguez de Dios
committed
Add appveyor support
1 parent f064741 commit 209b035

File tree

1 file changed

+9
-0
lines changed
  • lib/code_climate/test_reporter

1 file changed

+9
-0
lines changed

lib/code_climate/test_reporter/ci.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ def self.service_data(env = ENV)
4545
branch: env['WERCKER_GIT_BRANCH'],
4646
commit_sha: env['WERCKER_GIT_COMMIT']
4747
}
48+
elsif env['APPVEYOR']
49+
{
50+
name: "appveyor",
51+
build_identifier: env['APPVEYOR_BUILD_ID'],
52+
build_url: env['APPVEYOR_API_URL'],
53+
branch: env['APPVEYOR_REPO_BRANCH'],
54+
commit_sha: env['APPVEYOR_REPO_COMMIT'],
55+
pull_request: env['APPVEYOR_PULL_REQUEST_NUMBER']
56+
}
4857
elsif env['CI_NAME'] =~ /DRONE/i
4958
{
5059
name: "drone",

0 commit comments

Comments
 (0)