Merge pull request #1598 from bf4/fix_simplecov

Remove dead code preventing simplecov from running
This commit is contained in:
Yohan Robert 2016-03-19 01:54:53 +01:00
commit 61412d80ca
2 changed files with 1 additions and 5 deletions

View File

@ -24,7 +24,7 @@ script:
env:
global:
- "JRUBY_OPTS='--dev -J-Xmx1024M'"
- "JRUBY_OPTS='--dev -J-Xmx1024M --debug'"
matrix:
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"

View File

@ -2,10 +2,6 @@ require 'bundler/setup'
begin
require 'simplecov'
# HACK: till https://github.com/colszowka/simplecov/pull/400 is merged and released.
# Otherwise you may get:
# simplecov-0.10.0/lib/simplecov/defaults.rb:50: warning: global variable `$ERROR_INFO' not initialized
require 'support/simplecov'
AppCoverage.start
rescue LoadError
STDERR.puts 'Running without SimpleCov'