tasks/benchmarks.rake in celluloid-fsm-0.9.0.pre10 vs tasks/benchmarks.rake in celluloid-fsm-0.9.0.pre11
- old
+ new
@@ -1,6 +1,6 @@
-require 'timeout'
+require "timeout"
desc "Run Celluloid benchmarks"
task :benchmark do
begin
Timeout.timeout(120) do
@@ -9,8 +9,8 @@
end
rescue Exception, Timeout::Error => ex
puts "ERROR: Couldn't complete benchmark: #{ex.class}: #{ex}"
puts " #{ex.backtrace.join("\n ")}"
- exit 1 unless ENV['CI'] # Hax for running benchmarks on Travis
+ exit 1 unless ENV["CI"] # Hax for running benchmarks on Travis
end
end