Skip to content

Commit 8e0abba

Browse files
committed
Replace coveralls with simplecov
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
1 parent 92a4cb5 commit 8e0abba

File tree

4 files changed

+9
-26
lines changed

4 files changed

+9
-26
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source "http://rubygems.org"
22

33
group :development, :test do
4-
gem 'coveralls', require: false
4+
gem 'simplecov', require: false
55
gem 'rspec', '~> 2.14.0'
66
gem 'webmock'
77
gem 'guard'

Gemfile.lock

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ GEM
66
astrolabe (1.3.0)
77
parser (>= 2.2.0.pre.3, < 3.0)
88
coderay (1.0.8)
9-
coveralls (0.7.1)
10-
multi_json (~> 1.3)
11-
rest-client
12-
simplecov (>= 0.7)
13-
term-ansicolor
14-
thor
159
crack (0.3.1)
1610
diff-lcs (1.2.5)
1711
docile (1.1.5)
@@ -26,9 +20,7 @@ GEM
2620
listen (0.5.3)
2721
lumberjack (1.0.2)
2822
method_source (0.8.1)
29-
mime-types (2.3)
3023
multi_json (1.10.1)
31-
netrc (0.7.7)
3224
parser (2.2.0.2)
3325
ast (>= 1.1, < 3.0)
3426
powerpack (0.0.9)
@@ -37,9 +29,6 @@ GEM
3729
method_source (~> 0.8)
3830
slop (~> 3.3.1)
3931
rainbow (2.0.0)
40-
rest-client (1.7.2)
41-
mime-types (>= 1.16, < 3.0)
42-
netrc (~> 0.7)
4332
rspec (2.14.1)
4433
rspec-core (~> 2.14.0)
4534
rspec-expectations (~> 2.14.0)
@@ -61,10 +50,7 @@ GEM
6150
simplecov-html (~> 0.8.0)
6251
simplecov-html (0.8.0)
6352
slop (3.3.3)
64-
term-ansicolor (1.3.0)
65-
tins (~> 1.0)
6653
thor (0.19.1)
67-
tins (1.3.3)
6854
vcr (2.4.0)
6955
webmock (1.9.0)
7056
addressable (>= 2.2.7)
@@ -74,10 +60,13 @@ PLATFORMS
7460
ruby
7561

7662
DEPENDENCIES
77-
coveralls
7863
guard
7964
guard-rspec
8065
rspec (~> 2.14.0)
8166
rubocop (= 0.28.0)
67+
simplecov
8268
vcr
8369
webmock
70+
71+
BUNDLED WITH
72+
1.16.1

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ An overview of the four cases described above:
4040

4141
## Code status
4242

43-
[![build status](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/build.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master)
44-
[![Build Status](https://semaphoreapp.com/api/v1/projects/a71ddd46-a9cc-4062-875e-7ade19a44927/243336/badge.svg)](https://semaphoreapp.com/gitlabhq/gitlab-shell)
43+
[![pipeline status](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/pipeline.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master)
44+
[![coverage report](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/coverage.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master)
4545
[![Code Climate](https://codeclimate.com/github/gitlabhq/gitlab-shell.svg)](https://codeclimate.com/github/gitlabhq/gitlab-shell)
46-
[![Coverage Status](https://coveralls.io/repos/gitlabhq/gitlab-shell/badge.svg?branch=master)](https://coveralls.io/r/gitlabhq/gitlab-shell)
4746

4847
## Requirements
4948

spec/spec_helper.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), ".."))
22

3-
if ENV['COVERALLS']
4-
require 'coveralls'
5-
Coveralls.wear!
6-
else
7-
require 'simplecov'
8-
SimpleCov.start
9-
end
3+
require 'simplecov'
4+
SimpleCov.start
105

116
require 'vcr'
127
require 'webmock'

0 commit comments

Comments
 (0)