diff --git a/.coveralls.yml b/.coveralls.yml
new file mode 100644
index 000000000..0170b682d
--- /dev/null
+++ b/.coveralls.yml
@@ -0,0 +1 @@
+service_name: travis
diff --git a/.gitignore b/.gitignore
index 861961dcc..d232f91b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
.idea
Gemfile.lock
gemfiles/*.lock
+coverage/*
pkg/*
doc
diff --git a/README.rdoc b/README.rdoc
index 8c9f9148b..a66e13b46 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -1,4 +1,4 @@
-= Kaminari {
}[http://travis-ci.org/amatsuda/kaminari] {
}[https://codeclimate.com/github/amatsuda/kaminari]
+= Kaminari {
}[http://travis-ci.org/amatsuda/kaminari] {
}[https://codeclimate.com/github/amatsuda/kaminari] {
}[https://coveralls.io/r/amatsuda/kaminari]
A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for modern web app frameworks and ORMs
diff --git a/kaminari.gemspec b/kaminari.gemspec
index fd3f8a093..4459ee71e 100644
--- a/kaminari.gemspec
+++ b/kaminari.gemspec
@@ -33,4 +33,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'capybara', ['>= 1.0']
s.add_development_dependency 'database_cleaner', ['~> 1.2.0']
s.add_development_dependency 'rdoc', ['>= 0']
+ s.add_development_dependency 'coveralls', ['>= 0']
end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 3063a265d..4289ccb9d 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,3 +1,8 @@
+require 'coveralls'
+
+# Enable Coveralls
+Coveralls.wear!
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))