summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-02-05 13:36:26 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-02-05 13:36:26 +0200
commit8e0abba77fb99c0eea4f8653cee80a08244ccba0 (patch)
treee79a8ca1ada95dc66cabef06e16225807d0d5df4
parent92a4cb5403b6860390f98c22b3741ce8017217b2 (diff)
downloadgitlab-shell-dz-remove-coveralls.tar.gz
Replace coveralls with simplecovdz-remove-coveralls
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock19
-rw-r--r--README.md5
-rw-r--r--spec/spec_helper.rb9
4 files changed, 9 insertions, 26 deletions
diff --git a/Gemfile b/Gemfile
index 7c5ce9d..82a44d7 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,7 +1,7 @@
source "http://rubygems.org"
group :development, :test do
- gem 'coveralls', require: false
+ gem 'simplecov', require: false
gem 'rspec', '~> 2.14.0'
gem 'webmock'
gem 'guard'
diff --git a/Gemfile.lock b/Gemfile.lock
index 9bf7d9f..a2e8e75 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -6,12 +6,6 @@ GEM
astrolabe (1.3.0)
parser (>= 2.2.0.pre.3, < 3.0)
coderay (1.0.8)
- coveralls (0.7.1)
- multi_json (~> 1.3)
- rest-client
- simplecov (>= 0.7)
- term-ansicolor
- thor
crack (0.3.1)
diff-lcs (1.2.5)
docile (1.1.5)
@@ -26,9 +20,7 @@ GEM
listen (0.5.3)
lumberjack (1.0.2)
method_source (0.8.1)
- mime-types (2.3)
multi_json (1.10.1)
- netrc (0.7.7)
parser (2.2.0.2)
ast (>= 1.1, < 3.0)
powerpack (0.0.9)
@@ -37,9 +29,6 @@ GEM
method_source (~> 0.8)
slop (~> 3.3.1)
rainbow (2.0.0)
- rest-client (1.7.2)
- mime-types (>= 1.16, < 3.0)
- netrc (~> 0.7)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
@@ -61,10 +50,7 @@ GEM
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
slop (3.3.3)
- term-ansicolor (1.3.0)
- tins (~> 1.0)
thor (0.19.1)
- tins (1.3.3)
vcr (2.4.0)
webmock (1.9.0)
addressable (>= 2.2.7)
@@ -74,10 +60,13 @@ PLATFORMS
ruby
DEPENDENCIES
- coveralls
guard
guard-rspec
rspec (~> 2.14.0)
rubocop (= 0.28.0)
+ simplecov
vcr
webmock
+
+BUNDLED WITH
+ 1.16.1
diff --git a/README.md b/README.md
index ad76acc..3159370 100644
--- a/README.md
+++ b/README.md
@@ -40,10 +40,9 @@ An overview of the four cases described above:
## Code status
-[![build status](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/build.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master)
-[![Build Status](https://semaphoreapp.com/api/v1/projects/a71ddd46-a9cc-4062-875e-7ade19a44927/243336/badge.svg)](https://semaphoreapp.com/gitlabhq/gitlab-shell)
+[![pipeline status](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/pipeline.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master)
+[![coverage report](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/coverage.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master)
[![Code Climate](https://codeclimate.com/github/gitlabhq/gitlab-shell.svg)](https://codeclimate.com/github/gitlabhq/gitlab-shell)
-[![Coverage Status](https://coveralls.io/repos/gitlabhq/gitlab-shell/badge.svg?branch=master)](https://coveralls.io/r/gitlabhq/gitlab-shell)
## Requirements
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index aeebd98..d93f88d 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,12 +1,7 @@
ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), ".."))
-if ENV['COVERALLS']
- require 'coveralls'
- Coveralls.wear!
-else
- require 'simplecov'
- SimpleCov.start
-end
+require 'simplecov'
+SimpleCov.start
require 'vcr'
require 'webmock'