Navigation Menu

Skip to content

Commit

Permalink
travis: increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 30, 2014
1 parent af9a426 commit dcac0eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Rakefile
Expand Up @@ -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
Expand Down

0 comments on commit dcac0eb

Please sign in to comment.