From c62cb42e386fef95bddd78c686c539a2497650d4 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 24 Jul 2018 11:09:01 -0700 Subject: Expand Ruby version testing and use new rake setup Signed-off-by: Tim Smith --- .travis.yml | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee342c0..19aa1f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,28 @@ +sudo: false language: ruby cache: bundler -sudo: false +matrix: + include: + - 2.2.10 + - 2.3.7 + - 2.4.4 + - 2.5.1 + - rvm: ruby-head + allow_failures: + - rvm: ruby-head branches: only: - - master + - master + +bundler_args: --without docs before_install: + - gem install bundler - bundle --version + - gem update --system - gem --version -rvm: - - 2.2.10 - - 2.3.7 - - 2.4.4 - - 2.5.1 script: - - bundle exec chefstyle - - bundle exec rake spec + - bundle exec rake -- cgit v1.2.1