Commit 96fbef60 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

add coveralls.io to travis builds

parent 473efc82
language: ruby
env:
- DB=mysql
- TRAVIS=true
before_install:
- sudo apt-get install libicu-dev -y
- gem install charlock_holmes -v="0.6.9"
......
......@@ -143,6 +143,7 @@ group :development do
end
group :development, :test do
gem 'coveralls', require: false
gem 'rails-dev-tweaks'
gem 'spinach-rails', '0.2.0'
gem "rspec-rails", '2.12.2'
......
......@@ -89,6 +89,12 @@ GEM
colored (1.2)
colorize (0.5.8)
connection_pool (1.0.0)
coveralls (0.6.2)
colorize
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
thor
crack (0.3.1)
daemons (1.1.9)
database_cleaner (0.9.1)
......@@ -348,6 +354,8 @@ GEM
redis-store (1.1.3)
redis (>= 2.2.0)
request_store (1.0.5)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
......@@ -468,6 +476,7 @@ DEPENDENCIES
chosen-rails (= 0.9.8)
coffee-rails (~> 3.2.2)
colored
coveralls
database_cleaner
devise
draper
......
require 'simplecov' unless ENV['CI']
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end
ENV['RAILS_ENV'] = 'test'
require './config/environment'
......
require 'simplecov' unless ENV['CI']
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
......
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