[Groonga-commit] droonga/droonga-engine at dcac0eb [master] travis: increase timeout

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Apr 30 16:03:12 JST 2014


Kouhei Sutou	2014-04-30 16:03:12 +0900 (Wed, 30 Apr 2014)

  New Revision: dcac0ebbd9f842a298d9e79583154f97244586c4
  https://github.com/droonga/droonga-engine/commit/dcac0ebbd9f842a298d9e79583154f97244586c4

  Message:
    travis: increase timeout

  Modified files:
    Rakefile

  Modified: Rakefile (+5 -1)
===================================================================
--- Rakefile    2014-04-30 16:02:01 +0900 (09d00b9)
+++ Rakefile    2014-04-30 16:03:12 +0900 (e9a3483)
@@ -30,8 +30,12 @@ Packnga::DocumentTask.new(spec) do |task|
 end
 
 def run_command_test(*options)
+  default_options = []
+  if ENV["TRAVIS"] == "true"
+    default_options.push("--timeout", "3")
+  end
   ruby(File.join(File.dirname(__FILE__), "test", "command", "run-test.rb"),
-       *options)
+       *(default_options + options))
 end
 
 namespace :test do
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index