coveralls 0.6.6 → 0.6.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,13 +28,20 @@ module Coveralls
28
28
  elsif ENV['JENKINS_URL']
29
29
  config[:service_name] = 'jenkins'
30
30
  config[:service_number] = ENV['BUILD_NUMBER']
31
- elsif ENV['CODESHIP']
32
- config[:service_name] = 'codeship'
33
31
  elsif ENV["COVERALLS_RUN_LOCALLY"] || Coveralls.testing
34
32
  config[:service_job_id] = nil
35
33
  config[:service_name] = 'coveralls-ruby'
36
34
  config[:service_event_type] = 'manual'
35
+
36
+ # standardized env vars
37
+ elsif ENV['CI_NAME']
38
+ config[:service_name] = ENV['CI_NAME']
39
+ config[:service_number] = ENV['CI_BUILD_NUMBER']
40
+ config[:service_build_url] = ENV['CI_BUILD_URL']
41
+ config[:service_branch] = ENV['CI_BRANCH']
42
+ config[:service_pull_request] = ENV['CI_PULL_REQUEST']
37
43
  end
44
+
38
45
  config
39
46
  end
40
47
 
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.6.6"
2
+ VERSION = "0.6.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.6.6
4
+ version: 0.6.7
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-17 00:00:00.000000000 Z
13
+ date: 2013-04-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client