From c1a1606ef76ce7979ec214bc83a252cf9d5935de Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 25 Jul 2018 14:55:29 -0700 Subject: Test on all the Ruby versions we support Also sync our travis config with our other gems Signed-off-by: Tim Smith --- .travis.yml | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 64cc679..6008875 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,27 @@ +sudo: false language: ruby cache: bundler -sudo: false -rvm: - - 2.4.3 - - 2.5.0 + +matrix: + include: + - rvm: 2.2.10 + - rvm: 2.3.7 + - rvm: 2.4.4 + - rvm: 2.5.1 + - rvm: ruby-head + allow_failures: + - rvm: ruby-head + branches: only: - - master -script: - - bundle exec rake + - master + +bundler_args: --without docs development + +before_install: + - gem install bundler + - bundle --version + - gem update --system + - gem --version + +script: bundle exec rake -- cgit v1.2.1