mirror of
https://github.com/inspec/inspec
synced 2024-11-26 14:40:26 +00:00
Work around strange bundler failures on Ruby 2.3
We should be excluding the integration group but it's trying to install berkshelf no matter what. 🤷
Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
parent
ce5b7d8942
commit
2fe299c4f8
2 changed files with 11 additions and 8 deletions
15
.travis.yml
15
.travis.yml
|
@ -6,6 +6,7 @@ cache: bundler
|
|||
dist: xenial
|
||||
services:
|
||||
- docker
|
||||
bundler_args: "--without integration tools maintenance deploy"
|
||||
before_install:
|
||||
- gem update --system
|
||||
- gem --version
|
||||
|
@ -13,20 +14,20 @@ before_install:
|
|||
matrix:
|
||||
include:
|
||||
- rvm: 2.3.8
|
||||
bundler_args: "--without integration tools maintenance deploy"
|
||||
env: UNIT_23=1
|
||||
env: UNIT_TESTS_23=1
|
||||
- rvm: 2.4.5
|
||||
bundler_args: "--without integration tools maintenance deploy"
|
||||
env: UNIT_24=1
|
||||
env: UNIT_TESTS_24=1
|
||||
- rvm: 2.5.3
|
||||
bundler_args: "--without integration tools maintenance deploy"
|
||||
env: UNIT_25=1
|
||||
env: UNIT_TESTS_25=1
|
||||
#- rvm: 2.6.1 # this needs a few fixes to get enabled
|
||||
# bundler_args: "--without integration tools maintenance deploy"
|
||||
# env: LINT_AND_TEST_26: 1
|
||||
# env: UNIT_TESTS_26=1
|
||||
- rvm: 2.4.5
|
||||
script: bundle exec rake $SUITE
|
||||
env: SUITE="test:functional"
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
env: SUITE="test:functional"
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
|
|
4
Gemfile
4
Gemfile
|
@ -22,7 +22,9 @@ group :test do
|
|||
end
|
||||
|
||||
group :integration do
|
||||
gem 'berkshelf', '~> 7'
|
||||
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.4')
|
||||
gem 'berkshelf', '~> 7'
|
||||
end
|
||||
gem 'test-kitchen', '>= 1.24'
|
||||
gem 'kitchen-vagrant'
|
||||
# we need winrm v2 support >= 0.15.1
|
||||
|
|
Loading…
Reference in a new issue