diff --git a/.travis.yml b/.travis.yml index 16e6d977..b94361e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,12 @@ -rvm: - - 2.0.0 - - 2.1.5 - - 2.2.0 - script: bundle exec rake spec + +matrix: + include: + rvm: + - 1.9.3 + gemfile: chef11.gemfile + - 2.0.0 + - 2.1.5 + - 2.2.0 + + diff --git a/Gemfile b/Gemfile index 559eb436..7d6326f5 100644 --- a/Gemfile +++ b/Gemfile @@ -11,6 +11,7 @@ gem 'winrm-s', github: 'chef/winrm-s' group :test do gem "rspec", '~> 3.0' + gem "chef" gem "ruby-wmi" gem "httpclient" gem 'rake' diff --git a/knife-windows.gemspec b/knife-windows.gemspec index 0fe5b178..800c7ab9 100644 --- a/knife-windows.gemspec +++ b/knife-windows.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'pry' - s.add_development_dependency 'chef', '< 12' + #s.add_development_dependency 'chef', '< 12' s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")