Skip to content

Commit

Permalink
Added Coveralls for code coverage tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmerwin committed Feb 5, 2016
1 parent a9c1b97 commit 769d76c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/.bundle
/.ruby-version
/Gemfile.lock
/coverage
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Scientist!

A Ruby library for carefully refactoring critical paths. [![Build Status](https://travis-ci.org/github/scientist.svg?branch=master)](https://travis-ci.org/github/scientist)
A Ruby library for carefully refactoring critical paths. [![Build Status](https://travis-ci.org/github/scientist.svg?branch=master)](https://travis-ci.org/github/scientist) [![Coverage Status](https://coveralls.io/repos/github/github/scientist/badge.svg?branch=master)](https://coveralls.io/github/github/scientist?branch=master)

## How do I science?

Expand Down
1 change: 1 addition & 0 deletions scientist.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]

gem.add_development_dependency "minitest", "~> 5.8"
gem.add_development_dependency "coveralls", "~> 0.8"
end
1 change: 1 addition & 0 deletions script/test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set -e
cd $(dirname "$0")/..
script/bootstrap && ruby -I lib \
-e 'require "bundler/setup"' \
-e 'require "coveralls"; Coveralls.wear!{ add_filter ".bundle" }' \
-e 'require "minitest/autorun"' \
-e 'require "scientist"' \
-e '(ARGV.empty? ? Dir["test/**/*_test.rb"] : ARGV).each { |f| load f }' -- "$@"

0 comments on commit 769d76c

Please sign in to comment.