diff options
author | Tim Smith <tsmith84@gmail.com> | 2016-03-16 10:18:46 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2016-03-16 10:21:41 -0700 |
commit | 1c668d07faf8bd372384d451b6d3bff990b6887d (patch) | |
tree | b8fa4dd37c39c37a0e6cf50c63f9c143be35ec4d | |
parent | 9bfbb52bfef9e75c3e2b78bc96f993db63cb2984 (diff) | |
download | mixlib-cli-1c668d07faf8bd372384d451b6d3bff990b6887d.tar.gz |
Update travis for modern platforms and config
Cache the bundler gems, add chefstyle, only run on master branch, and
run in the containers
-rw-r--r-- | .travis.yml | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index f019556..8462f66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,21 @@ -rvm: - - 1.8.7 - - 1.9.3 - - 2.0.0 +language: ruby +cache: bundler + +sudo: false -script: bundle exec rake spec +branches: + only: + - master + +before_install: + - bundle --version + - gem --version +rvm: + - 2.0 + - 2.1 + - 2.2 + - 2.3 +script: + - bundle exec chefstyle + - bundle exec rake spec |