Skip to content
Browse files

[CI] Use "turn" when running under CI

  • Loading branch information...
1 parent 68d7020 commit b5d326a9bfa3580971c3cd9ccfb3cfd9c5605ac6 @karmi committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/test_helper.rb
  2. +1 −1 tire.gemspec
View
2 test/test_helper.rb
@@ -8,7 +8,7 @@
require 'sqlite3'
require 'shoulda'
-require 'turn/autorun' unless ENV["TM_FILEPATH"] || ENV["CI"] || defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
+require 'turn/autorun' unless ENV["TM_FILEPATH"] || defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
require 'mocha'
require 'active_support/core_ext/hash/indifferent_access'
View
2 tire.gemspec
@@ -46,12 +46,12 @@ Gem::Specification.new do |s|
s.add_development_dependency "redis-persistence"
s.add_development_dependency "curb"
s.add_development_dependency "minitest"
+ s.add_development_dependency "turn", "~> 0.9" if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
# These gems are not needed for CI at <http://travis-ci.org/#!/karmi/tire>
#
unless ENV["CI"]
s.add_development_dependency "rdoc"
- s.add_development_dependency "turn", "~> 0.9" if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
end
s.description = <<-DESC

0 comments on commit b5d326a

Please sign in to comment.
Something went wrong with that request. Please try again.