diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9282117 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +rvm: +- 1.9.3 +- 2.0.0 +- 2.1 +- 2.2 + +sudo: true + +env: +- CHEF_VERSION="~> 11.0" +- CHEF_VERSION="~> 12.0" + +matrix: + exclude: +# Chef 12 requires Ruby 2: + - rvm: 1.9.3 + env: CHEF_VERSION="~> 12.0" +# Chef 11 cannot resolve dependencies in Ruby 2.2 (mixlib-shellout): + - rvm: 2.2 + env: CHEF_VERSION="~> 11.0" + +bundler_args: --jobs=3 --retry=3 --without='doc integration integration_vagrant integration_docker integration_cloud guard' + +script: +- bundle exec rake unit diff --git a/README.md b/README.md index 3cf1e76..0354a03 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ Description =========== [![Cookbook Version](https://img.shields.io/cookbook/v/owncloud.svg?style=flat)](https://supermarket.getchef.com/cookbooks/owncloud) +[![Build Status](http://img.shields.io/travis/zuazo/owncloud-cookbook.svg?style=flat)](https://travis-ci.org/zuazo/owncloud-cookbook) Installs and configures [ownCloud](http://owncloud.org/), an open source personal cloud for data and file sync, share and view.