Permalink
Browse files

Merge pull request #4721 from varyonic/4710-codecov

Switch from Coveralls to Codecov.
  • Loading branch information...
2 parents 793ce07 + 5d5e881 commit bf6f3e0cd7838e579334b257afa7b5cc9baa3a2c @timoschilling timoschilling committed on GitHub Jan 11, 2017
Showing with 6 additions and 9 deletions.
  1. +1 −1 .travis.yml
  2. +1 −3 Gemfile
  3. +1 −1 README.md
  4. +3 −0 spec/spec_helper.rb
  5. +0 −4 tasks/test.rake
View
@@ -9,7 +9,7 @@ install:
- bundle exec rake setup
- ./script/travis_cache upload
script:
- - bundle exec rake test_with_coveralls
+ - bundle exec rake test
rvm:
- 1.9
- 2.3.0
View
@@ -24,7 +24,6 @@ platform :ruby_19 do # Remove this block when we drop support for Ruby 1.9
gem 'mime-types', '< 3'
gem 'nokogiri', '< 1.7'
gem 'public_suffix', '< 1.5'
- gem 'term-ansicolor', '< 1.4'
end
@@ -63,8 +62,7 @@ end
group :test do
gem 'capybara'
gem 'simplecov', require: false # Test coverage generator. Go to /coverage/ after running tests
- gem 'coveralls', require: false # Test coverage website. Go to https://coveralls.io
- gem 'tins', '~> 1.6.0', require: false # Required by coveralls, > 1.6.0 removes support for Ruby 1.9
+ gem 'codecov', require: false # Test coverage website. Go to https://codecov.io
gem 'cucumber-rails', require: false
gem 'cucumber', '1.3.20'
gem 'database_cleaner'
View
@@ -5,7 +5,7 @@ Active Admin is a Ruby on Rails framework for creating elegant backends for webs
[![Version ](http://img.shields.io/gem/v/activeadmin.svg) ](https://rubygems.org/gems/activeadmin)
[![Travis CI ](http://img.shields.io/travis/activeadmin/activeadmin/master.svg) ](https://travis-ci.org/activeadmin/activeadmin)
[![Quality ](http://img.shields.io/codeclimate/github/activeadmin/activeadmin.svg) ](https://codeclimate.com/github/activeadmin/activeadmin)
-[![Coverage ](http://img.shields.io/coveralls/activeadmin/activeadmin.svg) ](https://coveralls.io/r/activeadmin/activeadmin)
+[![Coverage ](https://codecov.io/gh/activeadmin/activeadmin/branch/master/graph/badge.svg)](https://codecov.io/gh/activeadmin/activeadmin)
[![Inch CI ](http://inch-ci.org/github/activeadmin/activeadmin.svg?branch=master) ](http://inch-ci.org/github/activeadmin/activeadmin)
## State of the project
View
@@ -15,3 +15,6 @@
add_filter 'features/'
add_filter 'bundle/' # for Travis
end
+
+require 'codecov'
+SimpleCov.formatter = SimpleCov::Formatter::Codecov
View
@@ -21,10 +21,6 @@ end
desc "Run the full suite using 1 core"
task test: ['spec:unit', 'spec:request', 'cucumber', 'cucumber:class_reloading']
-require 'coveralls/rake/task'
-Coveralls::RakeTask.new
-task test_with_coveralls: [:test, 'coveralls:push']
-
namespace :test do
def run_tests_against(*versions)

0 comments on commit bf6f3e0

Please sign in to comment.