summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-24 11:09:01 -0700
committerTim Smith <tsmith@chef.io>2018-07-24 11:09:01 -0700
commitc62cb42e386fef95bddd78c686c539a2497650d4 (patch)
treeac3a47998fc75af4d0bcb30bca5e11fbaf6e31af
parentb070806ffef16a1dcba70c693848669503544e8a (diff)
downloadmixlib-cli-c62cb42e386fef95bddd78c686c539a2497650d4.tar.gz
Expand Ruby version testing and use new rake setup
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.travis.yml25
1 files 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