Browse Source

Add travis-ci support

Juanje Ojeda 7 years ago
parent
commit
cc8725db30
2 changed files with 9 additions and 0 deletions
  1. 7 0
      .travis.yml
  2. 2 0
      README.md

+ 7 - 0
.travis.yml

@@ -0,0 +1,7 @@
+language: ruby
+rvm:
+  - 1.9.3
+before_script:
+  - gem install foodcritic -v 1.4.0
+script:
+  - foodcritic -f any .

+ 2 - 0
README.md

@@ -15,6 +15,8 @@ The actions that can be done by this LWRP over plain files are:
 You can add the recipe `conf` to a node `run_list`, so all the recipes from
 that runlist can use the resources and providers.
 
+[![Build Status](https://secure.travis-ci.org/juanje/cookbook-conf.png)](http://travis-ci.org/juanje/cookbook-conf)
+
 
 Requirements
 ============