add coverage and badges

This commit is contained in:
Torsten Ruger
2015-07-18 13:06:42 +03:00
parent e1c19dee80
commit bae476657a
5 changed files with 22 additions and 4 deletions

View File

@ -1,5 +1,3 @@
require 'rubygems'
require 'bundler'
begin
@ -9,6 +7,11 @@ rescue Bundler::BundlerError => e
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
if ENV['CODECLIMATE_REPO_TOKEN']
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
end
require "minitest/autorun"
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))