From 25b42b4d97c22f0c8f3cce7c9c0711bc82895104 Mon Sep 17 00:00:00 2001 From: Mark Burns Date: Mon, 30 Apr 2012 09:08:18 +0100 Subject: [PATCH] added build status icon and command to travis.yml --- .travis.yml | 2 ++ README.md | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 44e453b..69b1fe0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,5 @@ rvm: - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode + +script: bundle exec rspec spec diff --git a/README.md b/README.md index 50e285a..e442d61 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ signature ========= +[![Build Status](https://secure.travis-ci.org/markburns/signature.png?branch=master)](http://travis-ci.org/markburns/signature) + Examples -------- @@ -11,7 +13,7 @@ Client example request = Signature::Request.new('POST', '/api/thing', params) auth_hash = request.sign(token) query_params = params.merge(auth_hash) - + HTTParty.post('http://myservice/api/thing', { :query => query_params })