summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
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