Commit 8e0abba7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Replace coveralls with simplecov

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 92a4cb54
source "http://rubygems.org" source "http://rubygems.org"
group :development, :test do group :development, :test do
gem 'coveralls', require: false gem 'simplecov', require: false
gem 'rspec', '~> 2.14.0' gem 'rspec', '~> 2.14.0'
gem 'webmock' gem 'webmock'
gem 'guard' gem 'guard'
......
...@@ -6,12 +6,6 @@ GEM ...@@ -6,12 +6,6 @@ GEM
astrolabe (1.3.0) astrolabe (1.3.0)
parser (>= 2.2.0.pre.3, < 3.0) parser (>= 2.2.0.pre.3, < 3.0)
coderay (1.0.8) coderay (1.0.8)
coveralls (0.7.1)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
crack (0.3.1) crack (0.3.1)
diff-lcs (1.2.5) diff-lcs (1.2.5)
docile (1.1.5) docile (1.1.5)
...@@ -26,9 +20,7 @@ GEM ...@@ -26,9 +20,7 @@ GEM
listen (0.5.3) listen (0.5.3)
lumberjack (1.0.2) lumberjack (1.0.2)
method_source (0.8.1) method_source (0.8.1)
mime-types (2.3)
multi_json (1.10.1) multi_json (1.10.1)
netrc (0.7.7)
parser (2.2.0.2) parser (2.2.0.2)
ast (>= 1.1, < 3.0) ast (>= 1.1, < 3.0)
powerpack (0.0.9) powerpack (0.0.9)
...@@ -37,9 +29,6 @@ GEM ...@@ -37,9 +29,6 @@ GEM
method_source (~> 0.8) method_source (~> 0.8)
slop (~> 3.3.1) slop (~> 3.3.1)
rainbow (2.0.0) rainbow (2.0.0)
rest-client (1.7.2)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rspec (2.14.1) rspec (2.14.1)
rspec-core (~> 2.14.0) rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0) rspec-expectations (~> 2.14.0)
...@@ -61,10 +50,7 @@ GEM ...@@ -61,10 +50,7 @@ GEM
simplecov-html (~> 0.8.0) simplecov-html (~> 0.8.0)
simplecov-html (0.8.0) simplecov-html (0.8.0)
slop (3.3.3) slop (3.3.3)
term-ansicolor (1.3.0)
tins (~> 1.0)
thor (0.19.1) thor (0.19.1)
tins (1.3.3)
vcr (2.4.0) vcr (2.4.0)
webmock (1.9.0) webmock (1.9.0)
addressable (>= 2.2.7) addressable (>= 2.2.7)
...@@ -74,10 +60,13 @@ PLATFORMS ...@@ -74,10 +60,13 @@ PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
coveralls
guard guard
guard-rspec guard-rspec
rspec (~> 2.14.0) rspec (~> 2.14.0)
rubocop (= 0.28.0) rubocop (= 0.28.0)
simplecov
vcr vcr
webmock webmock
BUNDLED WITH
1.16.1
...@@ -40,10 +40,9 @@ An overview of the four cases described above: ...@@ -40,10 +40,9 @@ An overview of the four cases described above:
## Code status ## Code status
[![build status](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/build.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master) [![pipeline status](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/pipeline.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) [![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) [![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 ## Requirements
......
ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), "..")) ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), ".."))
if ENV['COVERALLS'] require 'simplecov'
require 'coveralls' SimpleCov.start
Coveralls.wear!
else
require 'simplecov'
SimpleCov.start
end
require 'vcr' require 'vcr'
require 'webmock' require 'webmock'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment