close
The Wayback Machine - https://web.archive.org/web/20220707162540/https://github.com/github/scientist/commit/769d76c34f6b0f65509c8103b640a0a8b30dba71
Skip to content
Permalink
Browse files
Added Coveralls for code coverage tracking
  • Loading branch information
nickmerwin committed Feb 5, 2016
1 parent a9c1b97 commit 769d76c34f6b0f65509c8103b640a0a8b30dba71
Showing 4 changed files with 4 additions and 1 deletion.
@@ -2,3 +2,4 @@
/.bundle
/.ruby-version
/Gemfile.lock
/coverage
@@ -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?

@@ -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
@@ -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.