remove annoying rcov gem

This commit is contained in:
Devin Howard 2016-02-05 15:35:06 +08:00
parent e460899ea3
commit 80a6bcbca2
4 changed files with 3 additions and 10 deletions

View file

@ -1,7 +1,3 @@
if ENV['COVERAGE_FORMATTER'] == 'rcov'
require 'simplecov-rcov'
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
end
if ENV['COVERAGE'] == 'on' if ENV['COVERAGE'] == 'on'
SimpleCov.start 'rails' SimpleCov.start 'rails'
end end

View file

@ -43,7 +43,6 @@ group :test do
gem 'factory_girl_rails' gem 'factory_girl_rails'
gem 'shoulda-matchers' gem 'shoulda-matchers'
gem 'simplecov', require: false gem 'simplecov', require: false
gem 'simplecov-rcov'
end end
group :production do #this is used on heroku group :production do #this is used on heroku

View file

@ -209,8 +209,6 @@ GEM
json (~> 1.8) json (~> 1.8)
simplecov-html (~> 0.10.0) simplecov-html (~> 0.10.0)
simplecov-html (0.10.0) simplecov-html (0.10.0)
simplecov-rcov (0.2.3)
simplecov (>= 0.4.1)
slop (3.6.0) slop (3.6.0)
sprockets (3.4.0) sprockets (3.4.0)
rack (> 1, < 3) rack (> 1, < 3)
@ -267,7 +265,6 @@ DEPENDENCIES
sass-rails sass-rails
shoulda-matchers shoulda-matchers
simplecov simplecov
simplecov-rcov
tunemygc tunemygc
uglifier uglifier
uservoice-ruby uservoice-ruby

View file

@ -1,7 +1,8 @@
#!/bin/bash -l #!/bin/bash -l
# jenkins machine prerequisites # jenkins machine prerequisites
#sudo aptitude -q -y install libpq-dev # sudo aptitude -q -y install libpq-dev
# install rvm with user gemsets
source "$HOME/.rvm/scripts/rvm" source "$HOME/.rvm/scripts/rvm"
rvm use $(cat .ruby-version) || \ rvm use $(cat .ruby-version) || \
@ -21,4 +22,4 @@ sed -i -e "s/DB_USERNAME='.*'/DB_USERNAME='jenkins'/" .env
#test #test
bundle install bundle install
rake db:create db:test:prepare rake db:create db:test:prepare
COVERAGE=on COVERAGE_FORMATTER=rcov bundle exec rspec COVERAGE=on bundle exec rspec