Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #202 from sul-dlss/coveralls
Browse files Browse the repository at this point in the history
add Coveralls
  • Loading branch information
jcoyne committed Jun 20, 2018
2 parents 87674c4 + 2013f21 commit 9ccacea
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ config/settings/*.local.yml
config/environments/*.local.yml

spec/examples.txt
script/test/
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ group :development, :test do
gem 'rspec-rails', '~> 3.1'
gem 'capybara', '~> 2.18'
gem 'simplecov'
gem 'coveralls'
gem 'equivalent-xml'
gem 'awesome_print'
gem 'launchy'
Expand Down
10 changes: 10 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ GEM
deep_merge (~> 1.2.1)
dry-validation (>= 0.10.4)
confstruct (0.2.7)
coveralls (0.7.1)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
crass (1.0.4)
daemons (1.2.6)
deep_merge (1.2.1)
Expand Down Expand Up @@ -483,9 +489,12 @@ GEM
bootstrap-sass
rails (>= 3.1.0)
systemu (2.6.5)
term-ansicolor (1.6.0)
tins (~> 1.0)
thor (0.20.0)
thread_safe (0.3.6)
tilt (1.4.1)
tins (1.16.3)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uber (0.0.15)
Expand Down Expand Up @@ -527,6 +536,7 @@ DEPENDENCIES
coderay
coffee-rails (~> 4.2)
config
coveralls
devise (~> 4.0)
devise-remote-user (~> 1.0)
dlss-capistrano
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Hydrus
[![Build Status](https://travis-ci.org/sul-dlss/hydrus.svg?branch=master)](https://travis-ci.org/sul-dlss/hydrus)
[![Coverage Status](https://coveralls.io/repos/github/sul-dlss/hydrus/badge.svg)](https://coveralls.io/github/sul-dlss/hydrus)

## Overview

Expand Down
13 changes: 11 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# for test coverage

require 'coveralls'
require 'simplecov'
SimpleCov.start 'rails'
# Coveralls.wear!('rails')
# SimpleCov.start 'rails'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
])
SimpleCov.start do
add_filter 'spec'
add_filter 'vendor'
end

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
Expand Down

0 comments on commit 9ccacea

Please sign in to comment.