Skip to content

Commit c87d6e8

Browse files
committed
Replace coveralls with codeclimate
1 parent 851b689 commit c87d6e8

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ dist: trusty
22
addons:
33
chrome: stable
44
language: ruby
5-
sudo: false
65

76
notifications:
87
email: false
@@ -38,5 +37,13 @@ notifications:
3837
global_env:
3938
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
4039
- ENGINE_CART_RAILS_OPTIONS='--skip-git --skip-bundle --skip-listen --skip-spring --skip-yarn --skip-keeps --skip-action-cable --skip-coffee --skip-test'
40+
- CC_TEST_REPORTER_ID=5042c7358c96b0b926088a4cda3e132fffe7a66ce8047cdb1dc6f0b4b6676b79
4141

4242
jdk: oraclejdk9
43+
44+
before_script:
45+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
46+
- chmod +x ./cc-test-reporter
47+
- ./cc-test-reporter before-build
48+
after_script:
49+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Blacklight
22

3-
[![Build Status](https://travis-ci.org/projectblacklight/blacklight.png?branch=master)](https://travis-ci.org/projectblacklight/blacklight) [![Gem Version](https://badge.fury.io/rb/blacklight.png)](http://badge.fury.io/rb/blacklight) [![Coverage Status](https://coveralls.io/repos/github/projectblacklight/blacklight/badge.svg?branch=master)](https://coveralls.io/github/projectblacklight/blacklight?branch=master)
3+
[![Build Status](https://travis-ci.org/projectblacklight/blacklight.png?branch=master)](https://travis-ci.org/projectblacklight/blacklight) [![Gem Version](https://badge.fury.io/rb/blacklight.png)](http://badge.fury.io/rb/blacklight) [![Test Coverage](https://api.codeclimate.com/v1/badges/83fd270492c136594e59/test_coverage)](https://codeclimate.com/github/projectblacklight/blacklight/test_coverage)
44

55
Blacklight is an open source Solr user interface discovery platform.
66
You can use Blacklight to enable searching and browsing of your collections.

blacklight.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Gem::Specification.new do |s|
4242
s.add_development_dependency "selenium-webdriver", '>= 3.13.1'
4343
s.add_development_dependency 'engine_cart', '~> 1.2'
4444
s.add_development_dependency "equivalent-xml"
45-
s.add_development_dependency "coveralls"
4645
s.add_development_dependency "simplecov"
4746
s.add_development_dependency "rubocop", '~> 0.60.0'
4847
s.add_development_dependency "rubocop-rspec", '~> 1.8'

spec/spec_helper.rb

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,9 @@
55

66
ENV["RAILS_ENV"] ||= 'test'
77

8-
if ENV["COVERAGE"] || ENV["CI"]
9-
require 'simplecov'
10-
require 'coveralls'
11-
12-
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
13-
SimpleCov.start do
14-
add_filter "/spec/"
15-
end
8+
require 'simplecov'
9+
SimpleCov.start do
10+
add_filter "/spec/"
1611
end
1712

1813
require 'rsolr'

0 commit comments

Comments
 (0)