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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb88466a98ad6842463388effe6f8eeff4f71409
4
- data.tar.gz: 101898fd31f6679bfe09880976587c6c97b9301f
3
+ metadata.gz: dd1cebf52cdd4ae9a5ef37bb64dc73ec863bbd80
4
+ data.tar.gz: 1b3d209a95477f66dd8667d3c83156c11ff5662c
5
5
  SHA512:
6
- metadata.gz: 1b63de0e06ab98c0d2f76e93c01ac8ee73762f5b6fa5ee724fed6460b5035fe6e195cb401b648e28c7f86e68047d6acaecb10ca1d6e52293a538056ea413756e
7
- data.tar.gz: d5514a4bdb9360ae990e708216df769b9096cafdc3c26307cb42064eea4ac91bb04f91955fefc117fed4ca709e9c6ea5cd5e4353a00009f704fc9f199d94681e
6
+ metadata.gz: 733618f65faf45160d87e74ef9378af89302109618f388037a15096a4b686d6ba1cd272fe785c819295dbcf321a073240716461149d6468e6dc20d419aece1c0
7
+ data.tar.gz: a1c37cfb4891198e617c84c6914434d576df52fea9c0996e14d614a2d88e7c36cd68e36d2ed95b2fa63e799f1b31cccc4814a9446b7a03a5f236502b6220673c
@@ -91,8 +91,8 @@ module Coveralls
91
91
  end
92
92
 
93
93
  def will_run?
94
- ENV["CI"] || ENV["JENKINS_URL"] || ENV["COVERALLS_RUN_LOCALLY"] ||
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] = 'circleci'
49
- config[:service_number] = ENV['CIRCLE_BUILD_NUM']
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']
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.7"
3
3
  end
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.5
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-29 00:00:00.000000000 Z
12
+ date: 2015-01-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client