summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-25 14:55:29 -0700
committerTim Smith <tsmith@chef.io>2018-07-25 15:08:43 -0700
commitc1a1606ef76ce7979ec214bc83a252cf9d5935de (patch)
tree47fefeaf86aa9a35b8711c2169c7b041fcce73c2 /.travis.yml
parente4767da4b0dd744392a2080a481faa84b23a7b23 (diff)
downloadmixlib-log-c1a1606ef76ce7979ec214bc83a252cf9d5935de.tar.gz
Test on all the Ruby versions we support
Also sync our travis config with our other gems Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml30
1 files 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