mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
add coveralls
This commit is contained in:
parent
8a952c290d
commit
2f8990bf95
3 changed files with 8 additions and 0 deletions
4
Gemfile
4
Gemfile
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
require 'coveralls'
|
||||||
|
Coveralls.wear!
|
||||||
|
|
||||||
if ENV["COVERAGE"]
|
if ENV["COVERAGE"]
|
||||||
require "simplecov"
|
require "simplecov"
|
||||||
SimpleCov.start
|
SimpleCov.start
|
||||||
|
|
Loading…
Reference in a new issue