Set up coveralls

This commit is contained in:
Fabio Rehm 2013-04-12 18:29:03 -03:00
parent e87b923b8e
commit 6c59cd2f53
4 changed files with 20 additions and 3 deletions

View file

@ -12,7 +12,6 @@ group :development do
gem 'guard-bundler'
gem 'guard-ctags-bundler'
gem 'rb-inotify'
gem 'simplecov', require: false
end
@ -21,4 +20,5 @@ group :development, :test do
gem 'rspec'
gem 'rspec-fire', require: 'rspec/fire'
gem 'rspec-spies', require: false
gem 'coveralls', require: false
end

View file

@ -23,6 +23,13 @@ GEM
childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.11)
coderay (1.0.9)
colorize (0.5.8)
coveralls (0.6.5)
colorize
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
thor
diff-lcs (1.2.2)
erubis (2.7.0)
ffi (1.6.0)
@ -47,6 +54,7 @@ GEM
log4r (1.1.10)
lumberjack (1.0.3)
method_source (0.8.1)
mime-types (1.22)
multi_json (1.7.2)
net-scp (1.1.0)
net-ssh (>= 2.6.5)
@ -58,6 +66,8 @@ GEM
rake (10.0.4)
rb-inotify (0.9.0)
ffi (>= 0.5.0)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
@ -81,6 +91,7 @@ PLATFORMS
ruby
DEPENDENCIES
coveralls
guard
guard-bundler
guard-ctags-bundler
@ -90,6 +101,5 @@ DEPENDENCIES
rspec
rspec-fire
rspec-spies
simplecov
vagrant!
vagrant-lxc!

View file

@ -1,4 +1,4 @@
# vagrant-lxc [![Build Status](https://travis-ci.org/fgrehm/vagrant-lxc.png?branch=master)](https://travis-ci.org/fgrehm/vagrant-lxc) [![Gem Version](https://badge.fury.io/rb/vagrant-lxc.png)](http://badge.fury.io/rb/vagrant-lxc) [![Code Climate](https://codeclimate.com/github/fgrehm/vagrant-lxc.png)](https://codeclimate.com/github/fgrehm/vagrant-lxc)
# vagrant-lxc [![Build Status](https://travis-ci.org/fgrehm/vagrant-lxc.png?branch=master)](https://travis-ci.org/fgrehm/vagrant-lxc) [![Gem Version](https://badge.fury.io/rb/vagrant-lxc.png)](http://badge.fury.io/rb/vagrant-lxc) [![Code Climate](https://codeclimate.com/github/fgrehm/vagrant-lxc.png)](https://codeclimate.com/github/fgrehm/vagrant-lxc) [![Coverage Status](https://coveralls.io/repos/fgrehm/vagrant-lxc/badge.png?branch=master)](https://coveralls.io/r/fgrehm/vagrant-lxc)
Linux Containers support for Vagrant 1.1+

View file

@ -1,5 +1,12 @@
if ENV['COVERAGE']
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
add_filter { |source_file| source_file.filename =~ /\/spec\/support/ }
end