Skip to content

Commit

Permalink
Limit 1.9.3 tests to use older Net::SSH
Browse files Browse the repository at this point in the history
Net::SSH 3.0 dropped support for Ruby 1.9.3 so older Rubies should
declare the dependency to avoid bundling problems.
  • Loading branch information
tokengeek committed Sep 28, 2015
1 parent a190c4f commit 2fbdbf2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Expand Up @@ -5,11 +5,9 @@ sudo: false
script: bundle exec rake travis

rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- jruby-19mode
- jruby-head

gemfile:
Expand All @@ -18,6 +16,11 @@ gemfile:

matrix:
fast_finish: true
include:
- rvm: 1.9
gemfile: gemfiles/Gemfile-ruby-1.9.3
- rvm: jruby-19mode
gemfile: gemfiles/Gemfile-ruby-1.9.3
allow_failures:
- rvm: jruby-head
- rvm: 2.2
Expand Down
12 changes: 12 additions & 0 deletions gemfiles/Gemfile-ruby-1.9.3
@@ -0,0 +1,12 @@
source "https://rubygems.org"

gem "net-ssh", "< 3.0"

group :development, :test do
# This is here because gemspec doesn"t support require: false
gem "coveralls", :require => false
gem "netrc", :require => false
gem "octokit", :require => false
end

gemspec :path => "../"

0 comments on commit 2fbdbf2

Please sign in to comment.