diff options
author | Tim Smith <tsmith@chef.io> | 2017-01-24 12:35:15 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-05-08 12:29:36 -0700 |
commit | 8bad06336fa20f776e49339f7191c2d8a27660ed (patch) | |
tree | e901c4304584ca8babb04f54f84fff81ffd5c0ff | |
parent | 0d293ff3fa6af456f389a40b75e2c000ce0474bb (diff) | |
download | ohai-8bad06336fa20f776e49339f7191c2d8a27660ed.tar.gz |
Merge pull request #946 from chef/fix_travis
Update travis/appveyer preinstall to resolve rainbow failures
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | appveyor.yml | 2 | ||||
-rw-r--r-- | ohai.gemspec | 6 |
3 files changed, 8 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 9c113bec..99ab8175 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,12 +6,16 @@ sudo: false branches: only: - master + - 8-stable before_install: - gem update --system + - gem --version + - gem uninstall bundler -a -x -I + - rvm @global do gem uninstall bundler -a -x -I - gem install bundler - bundle --version - - gem --version + - rm -f .bundle/config rvm: - 2.1.9 - 2.2.6 diff --git a/appveyor.yml b/appveyor.yml index 448ec22a..5f71010e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,7 +21,9 @@ install: - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - echo %PATH% - ruby --version + - gem update --system - gem --version + - gem uninstall bundler -a -x -I - gem install bundler --quiet --no-ri --no-rdoc - bundler --version diff --git a/ohai.gemspec b/ohai.gemspec index 233e0fb3..cfafe625 100644 --- a/ohai.gemspec +++ b/ohai.gemspec @@ -25,15 +25,11 @@ Gem::Specification.new do |s| s.add_dependency "ipaddress" s.add_dependency "wmi-lite", "~> 1.0" s.add_dependency "ffi", "~> 1.9" + s.add_dependency "chef-config", ">= 12.5.0.alpha.1", "< 14" # Note for ohai developers: If chef-config causes you grief, try: # bundle install --with development # this should work as long as chef is a development dependency in Gemfile. # - # Chef depends on ohai and chef-config. Ohai depends on chef-config. The - # version of chef-config that chef depends on is whatver version chef - # happens to be on master. This will need to be updated again once work on - # Chef 13 starts, otherwise builds will break. - s.add_dependency "chef-config", ">= 12.5.0.alpha.1", "< 13" s.bindir = "bin" s.executables = %w{ohai} |