зеркало из https://github.com/github/scientist.git
Merge pull request #32 from nickmerwin/master
Added Coveralls for code coverage tracking
This commit is contained in:
Коммит
ee51cd1c53
|
@ -2,3 +2,4 @@
|
|||
/.bundle
|
||||
/.ruby-version
|
||||
/Gemfile.lock
|
||||
/coverage
|
||||
|
|
|
@ -10,3 +10,7 @@ rvm:
|
|||
- 2.3.0
|
||||
- 2.4.0
|
||||
before_install: gem install bundler
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libgmp-dev
|
||||
|
|
|
@ -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 }' -- "$@"
|
||||
|
|
Загрузка…
Ссылка в новой задаче