summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2015-06-10 12:37:00 +0100
committerThom May <thom@may.lt>2015-06-10 16:25:03 +0100
commitc665c244dc164606198cebd2aa5bbd0d225a6b24 (patch)
tree6f2254d76024264ddef60a88564674fdc64e1b0e /.travis.yml
parent31e0d6bf5f0ab51462d5d61e7bd2eb531e931539 (diff)
downloadohai-c665c244dc164606198cebd2aa5bbd0d225a6b24.tar.gz
drop ruby 2.0 on travis in line with chef
also, only build master and 7.4 branches
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 2b5bcca7..cb194cd9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,20 @@
language: ruby
+cache: bundler
sudo: false
+branches:
+ only:
+ - master
+ - 7.4-stable
+
before_install:
- bundle --version
- gem --version
rvm:
- - 2.0.0
- - 2.1.2
-script:
+ - 2.1
+ - 2.2
+
+script:
- bundle exec rake spec
- bundle exec ohai