summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-08-02 09:46:48 +0100
committerThom May <thom@may.lt>2016-08-03 13:40:19 +0100
commit33ab16f0ec36c124e25be3887e15fc6443a02033 (patch)
treef99457e76c0f20be2972e5edced07b0f1b59ac5a
parente37ffed627248082b138bb87123dcb1e5be074b2 (diff)
downloadchef-zero-tm/test_more_rubbies.tar.gz
test ruby 2.2 and 2.3tm/test_more_rubbies
Signed-off-by: Thom May <thom@may.lt>
-rw-r--r--.travis.yml36
1 files 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