From 33ab16f0ec36c124e25be3887e15fc6443a02033 Mon Sep 17 00:00:00 2001 From: Thom May Date: Tue, 2 Aug 2016 09:46:48 +0100 Subject: test ruby 2.2 and 2.3 Signed-off-by: Thom May --- .travis.yml | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4fdfc7f..716638a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,3 @@ -rvm: 2.1 -gemfile: Gemfile - # This prevents testing branches that are created just for PRs branches: only: @@ -12,30 +9,47 @@ before_install: - gem install bundler sudo: false +language: ruby +cache: bundler + script: - bundle update - bundle exec rake pedant matrix: include: - - rvm: 2.1 + - rvm: 2.1.10 env: PEDANT_KNIFE_TESTS=true PEDANT_ALLOW_RVM=1 - - rvm: 2.1 + - rvm: 2.1.10 env: SINGLE_ORG=true - - rvm: 2.1 + - rvm: 2.1.10 env: CHEF_FS=true - - rvm: 2.1 + - rvm: 2.1.10 + env: + - CHEF_FS=true + - "GEMFILE_MOD=\"gem 'chef', github: 'chef/chef'\"" + - rvm: 2.2.5 + env: + - CHEF_FS=true + - "GEMFILE_MOD=\"gem 'chef', github: 'chef/chef'\"" + - rvm: 2.3.1 env: - CHEF_FS=true - "GEMFILE_MOD=\"gem 'chef', github: 'chef/chef'\"" - - rvm: 2.1 + - rvm: 2.1.10 env: FILE_STORE=true - - rvm: 2.1 + - rvm: 2.1.10 script: bundle exec rake chef_spec env: TEST=chef_spec - - rvm: 2.1 + - rvm: 2.1.10 + script: bundle exec rake spec + env: TEST=rake_spec + - rvm: 2.2.5 + script: bundle exec rake spec + env: TEST=rake_spec + - rvm: 2.3.1 script: bundle exec rake spec env: TEST=rake_spec - - rvm: 2.1 + - rvm: 2.1.10 script: bundle exec rake style env: TEST=chefstyle -- cgit v1.2.1