Skip to content

Commit

Permalink
[ci] remove DEFER_GC env variable
Browse files Browse the repository at this point in the history
no need for it, Ruby is fast enough now
  • Loading branch information
mikz committed Mar 26, 2016
1 parent 5790fb6 commit 01b268f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 36 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Expand Up @@ -15,33 +15,33 @@ gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_edge.gemfile
env:
- DEFER_GC=false RAILS_EDGE=true
- RAILS_EDGE=true
before_install:
- gem install bundler --version 1.11.2
script: "bundle exec rake spec"
matrix:
exclude:
- rvm: 1.9.3
gemfile: gemfiles/rails_edge.gemfile
env: DEFER_GC=false RAILS_EDGE=true
env: RAILS_EDGE=true
- rvm: 2.0.0
gemfile: gemfiles/rails_edge.gemfile
env: DEFER_GC=false RAILS_EDGE=true
env: RAILS_EDGE=true
- rvm: 2.1
gemfile: gemfiles/rails_edge.gemfile
allow_failures:
- rvm: 1.9.3
gemfile: gemfiles/rails_edge.gemfile
env: DEFER_GC=false RAILS_EDGE=true
env: RAILS_EDGE=true
- rvm: 2.0.0
gemfile: gemfiles/rails_edge.gemfile
env: DEFER_GC=false RAILS_EDGE=true
env: RAILS_EDGE=true
- rvm: 2.1
gemfile: gemfiles/rails_edge.gemfile
env: DEFER_GC=false RAILS_EDGE=true
env: RAILS_EDGE=true
- rvm: 2.2
gemfile: gemfiles/rails_edge.gemfile
env: DEFER_GC=false RAILS_EDGE=true
env: RAILS_EDGE=true
- rvm: 2.3.0
gemfile: gemfiles/rails_edge.gemfile
env: DEFER_GC=false RAILS_EDGE=true
env: RAILS_EDGE=true
7 changes: 0 additions & 7 deletions spec/spec_helper.rb
Expand Up @@ -522,11 +522,4 @@ class ::ActionView::Base
allow(Formtastic.deprecation).to receive(:deprecation_warning).with(method, instance_of(String), instance_of(Array))
end
end

config.before(:all) do
DeferredGarbageCollection.start unless ENV["DEFER_GC"] == "false"
end
config.after(:all) do
DeferredGarbageCollection.reconsider unless ENV["DEFER_GC"] == "false"
end
end
21 changes: 0 additions & 21 deletions spec/support/deferred_garbage_collection.rb

This file was deleted.

0 comments on commit 01b268f

Please sign in to comment.