From ee320b281cbb7ce76eeeea33eef9a3b4b61937ec Mon Sep 17 00:00:00 2001 From: Philipp Fischbeck Date: Tue, 5 Feb 2019 16:01:15 +0100 Subject: [PATCH] Replace coveralls with Codacy --- .coveralls.yml | 1 - Gemfile | 4 ++-- Gemfile.lock | 15 ++++----------- test/test_helper.rb | 5 +++-- 4 files changed, 9 insertions(+), 16 deletions(-) delete mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 6e64999..0000000 --- a/.coveralls.yml +++ /dev/null @@ -1 +0,0 @@ -service_name: travis-ci \ No newline at end of file diff --git a/Gemfile b/Gemfile index 3961c14..b1e17c5 100644 --- a/Gemfile +++ b/Gemfile @@ -34,8 +34,8 @@ gem 'sdoc', '~> 1.0.0', group: :doc gem 'web-console', '~> 3.7.0', group: :development -# Use Coveralls for coverage documentation -gem 'coveralls', '~> 0.8.22', require: false +# Use Codacy for coverage +gem 'codacy-coverage', :require => false gem 'bootstrap-sass', '~> 3.4.0' gem 'autoprefixer-rails', '~> 9.4.6' diff --git a/Gemfile.lock b/Gemfile.lock index d33a1a8..f1e7f6f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -58,6 +58,8 @@ GEM autoprefixer-rails (>= 5.2.1) sassc (>= 2.0.0) builder (3.2.3) + codacy-coverage (2.1.0) + simplecov codemirror-rails (5.16.0) railties (>= 3.0, < 6.0) coffee-rails (4.2.2) @@ -68,12 +70,6 @@ GEM execjs coffee-script-source (1.12.2) concurrent-ruby (1.1.4) - coveralls (0.8.22) - json (>= 1.8, < 3) - simplecov (~> 0.16.1) - term-ansicolor (~> 1.3) - thor (~> 0.19.4) - tins (~> 1.6) crass (1.0.4) devise (4.5.0) bcrypt (~> 3.0) @@ -102,7 +98,7 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (1.8.6) + json (2.1.0) jwt (2.1.0) loofah (2.2.3) crass (~> 1.0.2) @@ -213,12 +209,9 @@ GEM sqlite3 (1.3.13) sqlite3 (1.3.13-x64-mingw32) sqlite3 (1.3.13-x86-mingw32) - term-ansicolor (1.7.1) - tins (~> 1.0) thor (0.19.4) thread_safe (0.3.6) tilt (2.0.9) - tins (1.20.2) turbolinks (5.2.0) turbolinks-source (~> 5.2) turbolinks-source (5.2.0) @@ -253,9 +246,9 @@ DEPENDENCIES bh (~> 1.3.6) bootsnap bootstrap-sass (~> 3.4.0) + codacy-coverage codemirror-rails (~> 5.16.0) coffee-rails (~> 4.2.2) - coveralls (~> 0.8.22) devise (~> 4.5.0) devise-bootstrap-views (~> 0.0.11) jbuilder (~> 2.8.0) diff --git a/test/test_helper.rb b/test/test_helper.rb index e8d4041..3411595 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,6 @@ -require 'coveralls' -Coveralls.wear!('rails') +require 'codacy-coverage' + +Codacy::Reporter.start ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__)