Switch from simplecov to coveralls for code coverage (in the cloud!!!)

This commit is contained in:
Nicolas McCurdy
2014-04-05 23:27:29 -04:00
parent 8b6bf92e9a
commit 349e75584f
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,8 @@ group :development do
gem "guard-rspec" gem "guard-rspec"
gem "rb-readline", "~> 0.5.0" gem "rb-readline", "~> 0.5.0"
gem "jeweler", ">= 1.6.2" gem "jeweler", ">= 1.6.2"
gem "simplecov" #gem "simplecov"
gem 'coveralls', require: false
gem "test_construct" gem "test_construct"
gem "capture-output", "~> 1.0.0" gem "capture-output", "~> 1.0.0"
if RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/ if RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/

View File

@@ -1,5 +1,5 @@
require 'simplecov' require 'coveralls'
SimpleCov.start Coveralls.wear!
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))