Add Coveralls support
This commit is contained in:
parent
4254a1f291
commit
f8f921e09d
5 changed files with 28 additions and 2 deletions
1
.coveralls.yml
Normal file
1
.coveralls.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
service_name: travis-ci
|
1
Gemfile
1
Gemfile
|
@ -93,4 +93,5 @@ group :development, :test do
|
||||||
gem "jshint"
|
gem "jshint"
|
||||||
gem "konacha"
|
gem "konacha"
|
||||||
gem "poltergeist"
|
gem "poltergeist"
|
||||||
|
gem "coveralls", :require => false
|
||||||
end
|
end
|
||||||
|
|
24
Gemfile.lock
24
Gemfile.lock
|
@ -69,9 +69,16 @@ GEM
|
||||||
colorize (0.7.5)
|
colorize (0.7.5)
|
||||||
composite_primary_keys (8.0.0)
|
composite_primary_keys (8.0.0)
|
||||||
activerecord (~> 4.2.0)
|
activerecord (~> 4.2.0)
|
||||||
|
coveralls (0.7.11)
|
||||||
|
multi_json (~> 1.10)
|
||||||
|
rest-client (>= 1.6.8, < 2)
|
||||||
|
simplecov (~> 0.9.1)
|
||||||
|
term-ansicolor (~> 1.3)
|
||||||
|
thor (~> 0.19.1)
|
||||||
crass (1.0.1)
|
crass (1.0.1)
|
||||||
dalli (2.7.2)
|
dalli (2.7.2)
|
||||||
deadlock_retry (1.2.0)
|
deadlock_retry (1.2.0)
|
||||||
|
docile (1.1.5)
|
||||||
dynamic_form (1.1.4)
|
dynamic_form (1.1.4)
|
||||||
erubis (2.7.0)
|
erubis (2.7.0)
|
||||||
execjs (2.3.0)
|
execjs (2.3.0)
|
||||||
|
@ -99,7 +106,7 @@ GEM
|
||||||
jsonify-rails (0.3.2)
|
jsonify-rails (0.3.2)
|
||||||
actionpack
|
actionpack
|
||||||
jsonify (< 0.4.0)
|
jsonify (< 0.4.0)
|
||||||
jwt (1.2.1)
|
jwt (1.3.0)
|
||||||
kgio (2.9.3)
|
kgio (2.9.3)
|
||||||
konacha (3.3.0)
|
konacha (3.3.0)
|
||||||
actionpack (>= 3.1, < 5)
|
actionpack (>= 3.1, < 5)
|
||||||
|
@ -119,6 +126,7 @@ GEM
|
||||||
multi_json (1.10.1)
|
multi_json (1.10.1)
|
||||||
multi_xml (0.5.5)
|
multi_xml (0.5.5)
|
||||||
multipart-post (2.0.0)
|
multipart-post (2.0.0)
|
||||||
|
netrc (0.10.3)
|
||||||
nokogiri (1.6.6.2)
|
nokogiri (1.6.6.2)
|
||||||
mini_portile (~> 0.6.0)
|
mini_portile (~> 0.6.0)
|
||||||
nokogumbo (1.2.0)
|
nokogumbo (1.2.0)
|
||||||
|
@ -185,7 +193,7 @@ GEM
|
||||||
rails-deprecated_sanitizer (>= 1.0.1)
|
rails-deprecated_sanitizer (>= 1.0.1)
|
||||||
rails-html-sanitizer (1.0.1)
|
rails-html-sanitizer (1.0.1)
|
||||||
loofah (~> 2.0)
|
loofah (~> 2.0)
|
||||||
rails-i18n (4.0.3)
|
rails-i18n (4.0.4)
|
||||||
i18n (~> 0.6)
|
i18n (~> 0.6)
|
||||||
railties (~> 4.0)
|
railties (~> 4.0)
|
||||||
railties (4.2.0)
|
railties (4.2.0)
|
||||||
|
@ -197,6 +205,9 @@ GEM
|
||||||
rake (10.4.2)
|
rake (10.4.2)
|
||||||
redcarpet (3.2.2)
|
redcarpet (3.2.2)
|
||||||
ref (1.0.5)
|
ref (1.0.5)
|
||||||
|
rest-client (1.7.3)
|
||||||
|
mime-types (>= 1.16, < 3.0)
|
||||||
|
netrc (~> 0.7)
|
||||||
rinku (1.7.3)
|
rinku (1.7.3)
|
||||||
rubocop (0.29.1)
|
rubocop (0.29.1)
|
||||||
astrolabe (~> 1.3)
|
astrolabe (~> 1.3)
|
||||||
|
@ -217,6 +228,11 @@ GEM
|
||||||
sprockets (>= 2.8, < 4.0)
|
sprockets (>= 2.8, < 4.0)
|
||||||
sprockets-rails (>= 2.0, < 4.0)
|
sprockets-rails (>= 2.0, < 4.0)
|
||||||
tilt (~> 1.1)
|
tilt (~> 1.1)
|
||||||
|
simplecov (0.9.2)
|
||||||
|
docile (~> 1.1.0)
|
||||||
|
multi_json (~> 1.0)
|
||||||
|
simplecov-html (~> 0.9.0)
|
||||||
|
simplecov-html (0.9.0)
|
||||||
soap4r-ruby1.9 (2.0.5)
|
soap4r-ruby1.9 (2.0.5)
|
||||||
sprockets (2.12.3)
|
sprockets (2.12.3)
|
||||||
hike (~> 1.2)
|
hike (~> 1.2)
|
||||||
|
@ -227,6 +243,8 @@ GEM
|
||||||
actionpack (>= 3.0)
|
actionpack (>= 3.0)
|
||||||
activesupport (>= 3.0)
|
activesupport (>= 3.0)
|
||||||
sprockets (>= 2.8, < 4.0)
|
sprockets (>= 2.8, < 4.0)
|
||||||
|
term-ansicolor (1.3.0)
|
||||||
|
tins (~> 1.0)
|
||||||
therubyracer (0.12.1)
|
therubyracer (0.12.1)
|
||||||
libv8 (~> 3.16.14.0)
|
libv8 (~> 3.16.14.0)
|
||||||
ref
|
ref
|
||||||
|
@ -234,6 +252,7 @@ GEM
|
||||||
thread_safe (0.3.4)
|
thread_safe (0.3.4)
|
||||||
tilt (1.4.1)
|
tilt (1.4.1)
|
||||||
timecop (0.7.3)
|
timecop (0.7.3)
|
||||||
|
tins (1.3.4)
|
||||||
tzinfo (1.2.2)
|
tzinfo (1.2.2)
|
||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
uglifier (2.7.0)
|
uglifier (2.7.0)
|
||||||
|
@ -258,6 +277,7 @@ DEPENDENCIES
|
||||||
bigdecimal (~> 1.1.0)
|
bigdecimal (~> 1.1.0)
|
||||||
coffee-rails (~> 4.1.0)
|
coffee-rails (~> 4.1.0)
|
||||||
composite_primary_keys (~> 8.0.0)
|
composite_primary_keys (~> 8.0.0)
|
||||||
|
coveralls
|
||||||
dalli
|
dalli
|
||||||
deadlock_retry (>= 1.2.0)
|
deadlock_retry (>= 1.2.0)
|
||||||
dynamic_form
|
dynamic_form
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# "The Rails Port"
|
# "The Rails Port"
|
||||||
|
|
||||||
[](https://travis-ci.org/openstreetmap/openstreetmap-website)
|
[](https://travis-ci.org/openstreetmap/openstreetmap-website)
|
||||||
|
[](https://coveralls.io/r/openstreetmap/openstreetmap-website?branch=master)
|
||||||
|
|
||||||
This is The Rails Port, the [Ruby on Rails](http://rubyonrails.org/)
|
This is The Rails Port, the [Ruby on Rails](http://rubyonrails.org/)
|
||||||
application that powers the [OpenStreetMap](http://www.openstreetmap.org) website and API.
|
application that powers the [OpenStreetMap](http://www.openstreetmap.org) website and API.
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
require "coveralls"
|
||||||
|
Coveralls.wear!("rails")
|
||||||
|
|
||||||
ENV["RAILS_ENV"] = "test"
|
ENV["RAILS_ENV"] = "test"
|
||||||
require File.expand_path("../../config/environment", __FILE__)
|
require File.expand_path("../../config/environment", __FILE__)
|
||||||
require "rails/test_help"
|
require "rails/test_help"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue