summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-12-05 15:36:10 -0800
committerTim Smith <tsmith@chef.io>2018-12-05 15:36:10 -0800
commit874e8491b72722ad9895b3a9a345f999c4c05d7a (patch)
tree24e971b1ac051808e45a10a4a6b170785efbd096 /.travis.yml
parenta05cc21d88ce72258e4a58e6d7c98fb584e79382 (diff)
downloadchef-874e8491b72722ad9895b3a9a345f999c4c05d7a.tar.gz
Require Ruby 2.5 or later
We haven't fully added 2.6 support, but Chef 15 will continue or RFC defined Ruby support process of supporting N and N-1. Now that the latest Ohai 15 is in the Gemfile.lock the unit tests on Ruby 2.4 fail. This bumps the required version to 2.5 and removes the 2.4 tests. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 0 insertions, 20 deletions
diff --git a/.travis.yml b/.travis.yml
index b918dfe7d3..d5d1a7d707 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,38 +35,18 @@ env:
matrix:
include:
- env:
- INTEGRATION_SPECS_24: 1
- rvm: 2.4.5
- sudo: true
- script: sudo -E $(which bundle) exec rake spec:integration;
- bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen
- - env:
INTEGRATION_SPECS_25: 1
rvm: 2.5.3
sudo: true
script: sudo -E $(which bundle) exec rake spec:integration;
bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen
- env:
- FUNCTIONAL_SPECS_24: 1
- rvm: 2.4.5
- sudo: true
- script: sudo -E $(which bundle) exec rake spec:functional;
- bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen
- - env:
FUNCTIONAL_SPECS_25: 1
rvm: 2.5.3
sudo: true
script: sudo -E $(which bundle) exec rake spec:functional;
bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen
- env:
- UNIT_SPECS_24: 1
- rvm: 2.4.5
- sudo: true
- script:
- - sudo -E $(which bundle) exec rake spec:unit;
- - sudo -E $(which bundle) exec rake component_specs
- bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen
- - env:
UNIT_SPECS_25: 1
rvm: 2.5.3
sudo: true