1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 08:46:41 +01:00

Merge pull request #20 from PFischbeck/coveralls

Add coveralls
This commit is contained in:
Philipp Fischbeck 2015-01-05 00:28:48 +01:00
commit 692370f2e3
5 changed files with 32 additions and 0 deletions

1
.coveralls.yml Normal file
View File

@ -0,0 +1 @@
service_name: travis-ci

3
.gitignore vendored
View File

@ -14,3 +14,6 @@
# Ignore all logfiles and tempfiles. # Ignore all logfiles and tempfiles.
/log/*.log /log/*.log
/tmp /tmp
# Ignore coverage data generated by coveralls
/coverage

View File

@ -23,6 +23,9 @@ gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api. # bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc gem 'sdoc', '~> 0.4.0', group: :doc
# Use Coveralls for coverage documentation
gem 'coveralls', require: false
gem 'bootstrap-sass', '~> 3.3.1' gem 'bootstrap-sass', '~> 3.3.1'
gem 'autoprefixer-rails' gem 'autoprefixer-rails'

View File

@ -43,8 +43,16 @@ GEM
coffee-script-source coffee-script-source
execjs execjs
coffee-script-source (1.8.0) coffee-script-source (1.8.0)
coveralls (0.7.1)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
docile (1.1.5)
erubis (2.7.0) erubis (2.7.0)
execjs (2.2.2) execjs (2.2.2)
ffi (1.9.6)
hike (1.2.3) hike (1.2.3)
i18n (0.6.11) i18n (0.6.11)
jbuilder (2.2.5) jbuilder (2.2.5)
@ -61,6 +69,7 @@ GEM
mime-types (2.4.3) mime-types (2.4.3)
minitest (5.4.3) minitest (5.4.3)
multi_json (1.10.1) multi_json (1.10.1)
netrc (0.10.2)
rack (1.5.2) rack (1.5.2)
rack-test (0.6.2) rack-test (0.6.2)
rack (>= 1.0) rack (>= 1.0)
@ -82,6 +91,10 @@ GEM
rake (10.4.0) rake (10.4.0)
rdoc (4.1.2) rdoc (4.1.2)
json (~> 1.4) json (~> 1.4)
rest-client (1.7.2)
ffi (~> 1.9)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
sass (3.2.19) sass (3.2.19)
sass-rails (4.0.5) sass-rails (4.0.5)
railties (>= 4.0.0, < 5.0) railties (>= 4.0.0, < 5.0)
@ -91,6 +104,11 @@ GEM
sdoc (0.4.1) sdoc (0.4.1)
json (~> 1.7, >= 1.7.7) json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0) rdoc (~> 4.0)
simplecov (0.9.1)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
sprockets (2.12.3) sprockets (2.12.3)
hike (~> 1.2) hike (~> 1.2)
multi_json (~> 1.0) multi_json (~> 1.0)
@ -101,9 +119,12 @@ GEM
activesupport (>= 3.0) activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0) sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.10) sqlite3 (1.3.10)
term-ansicolor (1.3.0)
tins (~> 1.0)
thor (0.19.1) thor (0.19.1)
thread_safe (0.3.4) thread_safe (0.3.4)
tilt (1.4.1) tilt (1.4.1)
tins (1.3.3)
turbolinks (2.5.2) turbolinks (2.5.2)
coffee-rails coffee-rails
tzinfo (1.2.2) tzinfo (1.2.2)
@ -125,6 +146,7 @@ DEPENDENCIES
bh (~> 1.2) bh (~> 1.2)
bootstrap-sass (~> 3.3.1) bootstrap-sass (~> 3.3.1)
coffee-rails (~> 4.0.0) coffee-rails (~> 4.0.0)
coveralls
jbuilder (~> 2.0) jbuilder (~> 2.0)
jquery-rails jquery-rails
mathjax-rails mathjax-rails

View File

@ -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'