add coveralls

This commit is contained in:
Tee Parham 2013-11-06 15:00:41 -07:00
parent 8a952c290d
commit 2f8990bf95
3 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,10 @@ group :docs do
gem "maruku" gem "maruku"
end end
group :test do
gem "coveralls", require: false
end
platform :mri do platform :mri do
gem "ruby-prof" gem "ruby-prof"
end end

View File

@ -2,6 +2,7 @@
[![Build Status](https://secure.travis-ci.org/haml/haml.png?branch=master)](http://travis-ci.org/haml/haml) [![Build Status](https://secure.travis-ci.org/haml/haml.png?branch=master)](http://travis-ci.org/haml/haml)
[![Code Climate](https://codeclimate.com/github/haml/haml.png)](https://codeclimate.com/github/haml/haml) [![Code Climate](https://codeclimate.com/github/haml/haml.png)](https://codeclimate.com/github/haml/haml)
[![Coverage Status](https://coveralls.io/repos/haml/haml/badge.png)](https://coveralls.io/r/haml/haml)
Haml is a templating engine for HTML. It's designed to make it both easier and Haml is a templating engine for HTML. It's designed to make it both easier and
more pleasant to write HTML documents, by eliminating redundancy, reflecting the more pleasant to write HTML documents, by eliminating redundancy, reflecting the

View File

@ -1,3 +1,6 @@
require 'coveralls'
Coveralls.wear!
if ENV["COVERAGE"] if ENV["COVERAGE"]
require "simplecov" require "simplecov"
SimpleCov.start SimpleCov.start