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