summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-08-03 13:56:29 +0100
committerGitHub <noreply@github.com>2016-08-03 13:56:29 +0100
commitb07062d25469b82b7c21b368fa439cc2c89d4ee6 (patch)
treeb68c9349378cfa3a42bf0f995cf78d94d5df53a8
parent2625378f08a03b1cc18f293fee980d4214d19e11 (diff)
parent33ab16f0ec36c124e25be3887e15fc6443a02033 (diff)
downloadchef-zero-b07062d25469b82b7c21b368fa439cc2c89d4ee6.tar.gz
Merge pull request #232 from chef/tm/test_more_rubbies
test ruby 2.2 and 2.3
-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