summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml17
-rw-r--r--lib/net/ssh/multi/server.rb1
2 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..b520c8f
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
+language: ruby
+sudo: false
+rvm:
+ - 2.0.0
+ - 2.1.0
+ - 2.2.0
+ - 2.3.0
+ - jruby-head
+ - rbx-2
+
+install: gem install test-unit mocha net-ssh net-ssh-gateway
+
+script: rake test
+
+matrix:
+ allow_failures:
+ - rvm: jruby-head
diff --git a/lib/net/ssh/multi/server.rb b/lib/net/ssh/multi/server.rb
index f8fa552..58083e3 100644
--- a/lib/net/ssh/multi/server.rb
+++ b/lib/net/ssh/multi/server.rb
@@ -1,4 +1,5 @@
require 'net/ssh'
+require 'timeout'
module Net; module SSH; module Multi
# Encapsulates the connection information for a single remote server, as well