codeclimate-test-reporter 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/codeclimate-test-reporter.rb +3 -1
- metadata +1 -1
@@ -5,7 +5,7 @@ require "uri"
|
|
5
5
|
|
6
6
|
module CodeClimate
|
7
7
|
class TestReporter
|
8
|
-
VERSION = "0.0.
|
8
|
+
VERSION = "0.0.3"
|
9
9
|
|
10
10
|
class API
|
11
11
|
def self.host
|
@@ -101,6 +101,7 @@ module CodeClimate
|
|
101
101
|
if ENV['TRAVIS']
|
102
102
|
{
|
103
103
|
name: "travis-ci",
|
104
|
+
branch: ENV['TRAVIS_BRANCH'],
|
104
105
|
build_identifier: ENV['TRAVIS_JOB_ID'],
|
105
106
|
pull_request: ENV['TRAVIS_PULL_REQUEST']
|
106
107
|
}
|
@@ -114,6 +115,7 @@ module CodeClimate
|
|
114
115
|
elsif ENV['SEMAPHORE']
|
115
116
|
{
|
116
117
|
name: "semaphore",
|
118
|
+
branch: ENV['BRANCH_NAME'],
|
117
119
|
build_identifier: ENV['SEMAPHORE_BUILD_NUMBER']
|
118
120
|
}
|
119
121
|
elsif ENV['JENKINS_URL']
|