Commit bd236260 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add coveralls support properly

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a8aa2984
source "http://rubygems.org" source "http://rubygems.org"
group :development do group :development, :test do
gem 'coveralls', require: false gem 'coveralls', require: false
gem 'rspec' gem 'rspec'
gem 'webmock' gem 'webmock'
......
ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), "..")) ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), ".."))
if ENV['TRAVIS'] if ENV['COVERALLS']
require 'coveralls' require 'coveralls'
Coveralls.wear! Coveralls.wear!
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment