coveralls 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/coveralls-ruby.gemspec +1 -1
- data/lib/coveralls.rb +3 -3
- data/lib/coveralls/configuration.rb +3 -2
- data/lib/coveralls/version.rb +1 -1
- metadata +6 -6
data/coveralls-ruby.gemspec
CHANGED
data/lib/coveralls.rb
CHANGED
@@ -72,9 +72,9 @@ module Coveralls
|
|
72
72
|
end
|
73
73
|
|
74
74
|
def should_run?
|
75
|
-
|
76
|
-
|
77
|
-
|
75
|
+
# Fail early if we're not on a CI
|
76
|
+
unless ENV["CI"] || ENV["JENKINS_URL"] ||
|
77
|
+
ENV["COVERALLS_RUN_LOCALLY"] || @testing
|
78
78
|
puts "[Coveralls] Outside the Travis environment, not sending data.".yellow
|
79
79
|
return false
|
80
80
|
end
|
@@ -20,13 +20,14 @@ module Coveralls
|
|
20
20
|
config[:service_job_id] = ENV['TRAVIS_JOB_ID']
|
21
21
|
config[:service_name] = (yml ? yml['service_name'] : nil) || 'travis-ci'
|
22
22
|
elsif ENV['CIRCLECI']
|
23
|
-
config[:service_job_id] = ENV['CIRCLE_BUILD_NUM']
|
24
23
|
config[:service_name] = 'circleci'
|
24
|
+
config[:service_number] = ENV['CIRCLE_BUILD_NUM']
|
25
25
|
elsif ENV['SEMAPHORE']
|
26
26
|
config[:service_name] = 'semaphore'
|
27
|
+
config[:service_number] = ENV['SEMAPHORE_BUILD_NUMBER']
|
27
28
|
elsif ENV['JENKINS_URL']
|
28
|
-
config[:service_job_id] = ENV['BUILD_NUMBER']
|
29
29
|
config[:service_name] = 'jenkins'
|
30
|
+
config[:service_number] = ENV['BUILD_NUMBER']
|
30
31
|
elsif ENV["COVERALLS_RUN_LOCALLY"] || Coveralls.testing
|
31
32
|
config[:service_job_id] = nil
|
32
33
|
config[:service_name] = 'coveralls-ruby'
|
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.6.
|
4
|
+
version: 0.6.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-04-
|
13
|
+
date: 2013-04-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
@@ -161,17 +161,17 @@ dependencies:
|
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
none: false
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - '='
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 1.11.3
|
167
167
|
type: :development
|
168
168
|
prerelease: false
|
169
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
170
|
none: false
|
171
171
|
requirements:
|
172
|
-
- -
|
172
|
+
- - '='
|
173
173
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
174
|
+
version: 1.11.3
|
175
175
|
description: A Ruby implementation of the Coveralls API.
|
176
176
|
email:
|
177
177
|
- nick@lemurheavy.com
|