coveralls 0.7.5 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coveralls.rb +2 -2
- data/lib/coveralls/configuration.rb +8 -3
- data/lib/coveralls/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd1cebf52cdd4ae9a5ef37bb64dc73ec863bbd80
|
4
|
+
data.tar.gz: 1b3d209a95477f66dd8667d3c83156c11ff5662c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 733618f65faf45160d87e74ef9378af89302109618f388037a15096a4b686d6ba1cd272fe785c819295dbcf321a073240716461149d6468e6dc20d419aece1c0
|
7
|
+
data.tar.gz: a1c37cfb4891198e617c84c6914434d576df52fea9c0996e14d614a2d88e7c36cd68e36d2ed95b2fa63e799f1b31cccc4814a9446b7a03a5f236502b6220673c
|
data/lib/coveralls.rb
CHANGED
@@ -91,8 +91,8 @@ module Coveralls
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def will_run?
|
94
|
-
ENV["CI"] || ENV["JENKINS_URL"] || ENV[
|
95
|
-
(defined?(@testing) && @testing)
|
94
|
+
ENV["CI"] || ENV["JENKINS_URL"] || ENV['TDDIUM'] ||
|
95
|
+
ENV["COVERALLS_RUN_LOCALLY"] || (defined?(@testing) && @testing)
|
96
96
|
end
|
97
97
|
|
98
98
|
def noisy?
|
@@ -45,8 +45,11 @@ module Coveralls
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def self.set_service_params_for_circleci(config)
|
48
|
-
config[:service_name]
|
49
|
-
config[:service_number]
|
48
|
+
config[:service_name] = 'circleci'
|
49
|
+
config[:service_number] = ENV['CIRCLE_BUILD_NUM']
|
50
|
+
config[:service_pull_request] = (ENV['CI_PULL_REQUEST'] || "")[/(\d+)$/,1]
|
51
|
+
config[:parallel] = ENV['CIRCLE_NODE_TOTAL'].to_i > 1
|
52
|
+
config[:service_job_id] = ENV['CIRCLE_NODE_INDEX']
|
50
53
|
end
|
51
54
|
|
52
55
|
def self.set_service_params_for_semaphore(config)
|
@@ -62,9 +65,10 @@ module Coveralls
|
|
62
65
|
def self.set_service_params_for_tddium(config)
|
63
66
|
config[:service_name] = 'tddium'
|
64
67
|
config[:service_number] = ENV['TDDIUM_SESSION_ID']
|
68
|
+
config[:service_job_id] = ENV['TDDIUM_TID']
|
65
69
|
config[:service_pull_request] = ENV['TDDIUM_PR_ID']
|
66
70
|
config[:service_branch] = ENV['TDDIUM_CURRENT_BRANCH']
|
67
|
-
config[:service_build_url] = "https://solanolabs.com/reports/#{ENV['TDDIUM_SESSION_ID']}"
|
71
|
+
config[:service_build_url] = "https://ci.solanolabs.com/reports/#{ENV['TDDIUM_SESSION_ID']}"
|
68
72
|
end
|
69
73
|
|
70
74
|
def self.set_service_params_for_coveralls_local(config)
|
@@ -76,6 +80,7 @@ module Coveralls
|
|
76
80
|
def self.set_service_params_for_generic_ci(config)
|
77
81
|
config[:service_name] = ENV['CI_NAME']
|
78
82
|
config[:service_number] = ENV['CI_BUILD_NUMBER']
|
83
|
+
config[:service_job_id] = ENV['CI_JOB_ID']
|
79
84
|
config[:service_build_url] = ENV['CI_BUILD_URL']
|
80
85
|
config[:service_branch] = ENV['CI_BRANCH']
|
81
86
|
config[:service_pull_request] = ENV['CI_PULL_REQUEST']
|
data/lib/coveralls/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coveralls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Merwin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-01-
|
12
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|