Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add coveralls.io

  • Loading branch information...
commit c5ae5f8a16035c2f99ee3e2ee9be490ba7ad2503 1 parent 45adf10
@randx randx authored
Showing with 23 additions and 2 deletions.
  1. +2 −2 .travis.yml
  2. +2 −0  Gemfile
  3. +14 −0 Gemfile.lock
  4. +5 −0 spec/spec_helper.rb
View
4 .travis.yml
@@ -1,6 +1,6 @@
env:
- - DB=mysql
- - DB=postgresql
+ - DB=mysql TRAVIS=true
+ - DB=postgresql TRAVIS=true
before_install:
- sudo apt-get install libicu-dev -y
- gem install charlock_holmes -v="0.6.9"
View
2  Gemfile
@@ -85,4 +85,6 @@ group :development, :test do
gem 'rb-fsevent', require: darwin_only('rb-fsevent')
gem 'growl', require: darwin_only('growl')
gem 'rb-inotify', require: linux_only('rb-inotify')
+
+ gem 'coveralls', require: false
end
View
14 Gemfile.lock
@@ -56,7 +56,14 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.4.0)
+ colorize (0.5.8)
connection_pool (1.0.0)
+ coveralls (0.6.2)
+ colorize
+ multi_json (~> 1.3)
+ rest-client
+ simplecov (>= 0.7)
+ thor
daemons (1.1.9)
devise (2.1.2)
bcrypt-ruby (~> 3.0)
@@ -163,6 +170,8 @@ GEM
redis (3.0.2)
redis-namespace (1.2.1)
redis (~> 3.0.0)
+ rest-client (1.6.7)
+ mime-types (>= 1.16)
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
@@ -196,6 +205,10 @@ GEM
multi_json (~> 1)
redis (~> 3)
redis-namespace
+ simplecov (0.7.1)
+ multi_json (~> 1.0)
+ simplecov-html (~> 0.7.1)
+ simplecov-html (0.7.1)
sinatra (1.3.3)
rack (~> 1.3, >= 1.3.6)
rack-protection (~> 1.2)
@@ -250,6 +263,7 @@ DEPENDENCIES
charlock_holmes
childprocess
coffee-rails (~> 3.2.1)
+ coveralls
devise
factory_girl_rails
ffaker
View
5 spec/spec_helper.rb
@@ -1,3 +1,8 @@
+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'
require File.expand_path("../../config/environment", __FILE__)
Please sign in to comment.
Something went wrong with that request. Please try again.